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.
2 parents f800bf6 + 3a5e0b7 commit 4a80a41Copy full SHA for 4a80a41
doc/conf.py
@@ -160,8 +160,9 @@ def _check_dependencies():
160
# The following import is only necessary to monkey patch the signature later on
161
from sphinx_gallery import gen_rst
162
163
-# On Linux, prevent plt.show() from emitting a non-GUI backend warning.
164
-os.environ.pop("DISPLAY", None)
+# Prevent plt.show() from emitting a non-GUI backend warning.
+warnings.filterwarnings('ignore', category=UserWarning,
165
+ message=r'(\n|.)*is non-interactive, and thus cannot be shown')
166
167
autosummary_generate = True
168
autodoc_typehints = "none"
0 commit comments