Skip to content

Commit

Permalink
Deprecate git.io URL in README
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Apr 27, 2022
1 parent afa49e0 commit 52a98b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ Alternatively the statistical model and observational data can be read from its
>>> import pyhf
>>> import requests
>>> pyhf.set_backend("numpy")
>>> wspace = pyhf.Workspace(requests.get("https://git.io/JJYDE").json())
>>> url = "https://raw.githubusercontent.com/scikit-hep/pyhf/HEAD/docs/examples/json/2-bin_1-channel.json"
>>> wspace = pyhf.Workspace(requests.get(url).json())
>>> model = wspace.model()
>>> data = wspace.data(model)
>>> test_mu = 1.0
Expand Down

0 comments on commit 52a98b1

Please sign in to comment.