We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5814336 commit e872552Copy full SHA for e872552
numpydoc/docscrape_sphinx.py
@@ -340,7 +340,7 @@ def _str_references(self):
340
def _str_examples(self):
341
examples_str = "\n".join(self['Examples'])
342
343
- if (self.use_plots and IMPORT_MATPLOTLIB_RE.search(examples_str)
+ if (self.use_plots and re.search(IMPORT_MATPLOTLIB_RE, examples_str)
344
and 'plot::' not in examples_str):
345
out = []
346
out += self._str_header('Examples')
0 commit comments