We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 730abf1 commit 86a5208Copy full SHA for 86a5208
doc/conf.py
@@ -1,6 +1,7 @@
1
# -*- coding: utf-8 -*-
2
import sys
3
import os
4
+import warnings
5
6
extensions = [
7
'sphinx.ext.autodoc',
@@ -80,3 +81,9 @@
80
81
def setup(app):
82
app.add_javascript('js/copybutton.js')
83
app.add_stylesheet("basic.css")
84
+
85
86
+# Remove matplotlib agg warnings from generated doc when using plt.show
87
+warnings.filterwarnings("ignore", category=UserWarning,
88
+ message='Matplotlib is currently using agg, which is a'
89
+ ' non-GUI backend, so cannot show the figure.')
0 commit comments