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

Skip to content

Commit 8f05ba6

Browse files
committed
Make an internal class private
This will hopefully fix Sphinx trying and failing to include it.
1 parent 19daf49 commit 8f05ba6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def setup(app):
322322
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True,
323323
'version': matplotlib.__version__}
324324
app.connect('builder-inited', init_filename_registry)
325-
app.add_env_collector(FilenameCollector)
325+
app.add_env_collector(_FilenameCollector)
326326
return metadata
327327

328328

@@ -336,7 +336,7 @@ def init_filename_registry(app):
336336
env.mpl_custom_base_names = defaultdict(set)
337337

338338

339-
class FilenameCollector(EnvironmentCollector):
339+
class _FilenameCollector(EnvironmentCollector):
340340
def process_doc(self, app, doctree):
341341
pass
342342

0 commit comments

Comments
 (0)