Thanks to visit codestin.com Credit goes to github.com
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 070e093 commit ce0e433Copy full SHA for ce0e433
2 files changed
lib/matplotlib/sphinxext/plot_directive.py
@@ -197,7 +197,7 @@ def _option_format(arg):
197
198
199
def _deprecated_option_encoding(arg):
200
- _api.warn_deprecated("3.5", "encoding", obj_type="option")
+ _api.warn_deprecated("3.5", name="encoding", obj_type="option")
201
return directives.encoding(arg)
202
203
lib/matplotlib/tests/tinypages/some_plots.rst
@@ -120,9 +120,11 @@ Plot 14 uses ``include-source``:
120
121
# Only a comment
122
123
-Plot 15 uses an external file with the plot commands and a caption:
+Plot 15 uses an external file with the plot commands and a caption (the
124
+encoding is ignored and just verifies the deprecation is not broken):
125
126
.. plot:: range4.py
127
+ :encoding: utf-8
128
129
This is the caption for plot 15.
130
0 commit comments