diff --git a/README.rst b/README.rst index e2b2699c1d..f15ea7da05 100644 --- a/README.rst +++ b/README.rst @@ -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/master/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 diff --git a/src/pyhf/cli/infer.py b/src/pyhf/cli/infer.py index 020f1ee1b4..5081d2d156 100644 --- a/src/pyhf/cli/infer.py +++ b/src/pyhf/cli/infer.py @@ -63,7 +63,7 @@ def fit( .. code-block:: shell - $ curl -sL https://git.io/JJYDE | pyhf fit --value + $ curl -sL https://raw.githubusercontent.com/scikit-hep/pyhf/master/docs/examples/json/2-bin_1-channel.json | pyhf fit --value \b { @@ -176,7 +176,7 @@ def cls( .. code-block:: shell - $ curl -sL https://git.io/JJYDE | pyhf cls + $ curl -sL https://raw.githubusercontent.com/scikit-hep/pyhf/master/docs/examples/json/2-bin_1-channel.json | pyhf cls \b {