Skip to content

Commit

Permalink
FIX: relink matplotlib API
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 7, 2024
1 parent cba1f92 commit b1be7bd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def get_tensorflow_url() -> str:
BINDER_LINK = (
f"https://mybinder.org/v2/gh/ComPWA/{REPO_NAME}/{BRANCH}?filepath=docs/usage"
)
MATPLOTLIB_VERSION_REMAPPING = {
"matplotlib": {"3.9.1.post1": "3.9.1"},
}

add_module_names = False
api_github_repo = f"{ORGANIZATION}/{REPO_NAME}"
Expand Down Expand Up @@ -200,7 +203,10 @@ def get_tensorflow_url() -> str:
"graphviz": ("https://graphviz.readthedocs.io/en/stable", None),
"iminuit": ("https://scikit-hep.org/iminuit", None),
"jax": ("https://jax.readthedocs.io/en/latest", None),
"matplotlib": (f"https://matplotlib.org/{pin('matplotlib')}", None),
"matplotlib": (
f"https://matplotlib.org/{pin('matplotlib', MATPLOTLIB_VERSION_REMAPPING)}",
None,
),
"numpy": (f"https://numpy.org/doc/{pin_minor('numpy')}", None),
"pandas": (f"https://pandas.pydata.org/pandas-docs/version/{pin('pandas')}", None),
"pwa": ("https://pwa.readthedocs.io", None),
Expand Down

0 comments on commit b1be7bd

Please sign in to comment.