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.
2 parents a63463f + 9664046 commit e4da584Copy full SHA for e4da584
1 file changed
lib/matplotlib/sphinxext/plot_directive.py
@@ -398,7 +398,12 @@ def remove_coding(text):
398
399
{% for img in images %}
400
{% if 'pdf' in img.formats -%}
401
- .. image:: {{ build_dir }}/{{ img.basename }}.pdf
+ .. figure:: {{ build_dir }}/{{ img.basename }}.pdf
402
+ {% for option in options -%}
403
+ {{ option }}
404
+ {% endfor %}
405
+
406
+ {{ caption }}
407
{% endif -%}
408
{% endfor %}
409
0 commit comments