Skip to content

Commit 3f5bf06

Browse files
DOC: add a couple plt.close('all') to avoid warning
1 parent 6a9619f commit 3f5bf06

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/source/visualization.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ You can pass an ``ax`` argument to ``Series.plot`` to plot on a particular axis:
220220
@savefig series_plot_multi.png
221221
df['D'].plot(ax=axes[1,1]); axes[1,1].set_title('D')
222222
223+
.. ipython:: python
224+
:suppress:
225+
226+
plt.close('all')
227+
223228
224229
.. _visualization.other:
225230

@@ -361,6 +366,11 @@ columns:
361366
@savefig box_plot_ex3.png
362367
bp = df.boxplot(column=['Col1','Col2'], by=['X','Y'])
363368
369+
.. ipython:: python
370+
:suppress:
371+
372+
plt.close('all')
373+
364374
.. _visualization.scatter_matrix:
365375

366376
Scatter plot matrix
@@ -595,3 +605,8 @@ Andrews curves charts:
595605
596606
@savefig andrews_curve_winter.png
597607
andrews_curves(data, 'Name', colormap='winter')
608+
609+
.. ipython:: python
610+
:suppress:
611+
612+
plt.close('all')

0 commit comments

Comments
 (0)