Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4e9ea5

Browse files
committed
DOC: Tell sphinx-gallery to link mpl_toolkits from our build
Otherwise, it will try to find it with intersphinx, and fail.
1 parent 3d37d7a commit f4e9ea5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ def tutorials_download_error(record):
276276
'matplotlib_animations': True,
277277
'min_reported_time': 1,
278278
'plot_gallery': 'True', # sphinx-gallery/913
279-
'reference_url': {'matplotlib': None},
279+
'reference_url': {'matplotlib': None, 'mpl_toolkits': None},
280+
'prefer_full_module': {r'mpl_toolkits\.'},
280281
'remove_config_comments': True,
281282
'reset_modules': ('matplotlib', clear_basic_units),
282283
'subsection_order': gallery_order_sectionorder,

0 commit comments

Comments
 (0)