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 ffc9778 commit 7f04720Copy full SHA for 7f04720
doc/source/getting_started/intro_tutorials/04_plotting.rst
@@ -188,13 +188,20 @@ Some more formatting options are explained in the user guide section on :ref:`pl
188
I want to further customize, extend or save the resulting plot.
189
190
.. ipython::
191
+
192
@savefig 04_airqual_customized.png
193
In [1]: fig, axs = plt.subplots(figsize=(12, 4))
194
...: air_quality.plot.area(ax=axs)
195
...: axs.set_ylabel("NO$_2$ concentration")
196
...: fig.savefig("no2_concentrations.png")
197
...: plt.show()
198
199
+.. ipython:: python
200
+ :suppress:
201
202
+ import os
203
+ os.remove("no2_concentrations.png")
204
205
.. raw:: html
206
207
</li>
0 commit comments