From f4e9ea548a13c1a5a02b0a2831059ce71cbdfaf7 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 1 Aug 2024 03:06:49 -0400 Subject: [PATCH] DOC: Tell sphinx-gallery to link mpl_toolkits from our build Otherwise, it will try to find it with intersphinx, and fail. --- doc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 7e8c58489618..ea1e75c20af5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -276,7 +276,8 @@ def tutorials_download_error(record): 'matplotlib_animations': True, 'min_reported_time': 1, 'plot_gallery': 'True', # sphinx-gallery/913 - 'reference_url': {'matplotlib': None}, + 'reference_url': {'matplotlib': None, 'mpl_toolkits': None}, + 'prefer_full_module': {r'mpl_toolkits\.'}, 'remove_config_comments': True, 'reset_modules': ('matplotlib', clear_basic_units), 'subsection_order': gallery_order_sectionorder,