Skip to content

Commit 4518630

Browse files
Merge pull request #5980 from jorisvandenbossche/doc-plot-warning
DOC: add a couple plt.close('all') to avoid warning
2 parents 8d8a44b + 2638ab4 commit 4518630

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

doc/source/release.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ Improvements to existing features
7171

7272
- perf improvements in Series datetime/timedelta binary operations (:issue:`5801`)
7373
- `option_context` context manager now available as top-level API (:issue:`5752`)
74-
- df.info() view now display dtype info per column (:issue: `5682`)
75-
- df.info() now honors option max_info_rows, disable null counts for large frames (:issue: `5974`)
74+
- df.info() view now display dtype info per column (:issue:`5682`)
75+
- df.info() now honors option max_info_rows, disable null counts for large frames (:issue:`5974`)
7676
- perf improvements in DataFrame ``count/dropna`` for ``axis=1``
77-
- Series.str.contains now has a `regex=False` keyword which can be faster for plain (non-regex) string patterns. (:issue: `5879`)
77+
- Series.str.contains now has a `regex=False` keyword which can be faster for plain (non-regex) string patterns. (:issue:`5879`)
7878
- support ``dtypes`` on ``Panel``
7979
- extend ``Panel.apply`` to allow arbitrary functions (rather than only ufuncs) (:issue:`1148`)
8080
allow multiple axes to be used to operate on slabs of a ``Panel``
@@ -114,9 +114,9 @@ Bug Fixes
114114
``MultiIndex`` (:issue:`5402`).
115115
- Bug in ``pd.read_msgpack`` with inferring a ``DateTimeIndex`` frequencey
116116
incorrectly (:issue:`5947`)
117-
- Fixed ``to_datetime`` for array with both Tz-aware datetimes and ``NaT``s (:issue:`5961`)
117+
- Fixed ``to_datetime`` for array with both Tz-aware datetimes and ``NaT``'s (:issue:`5961`)
118118
- Bug in rolling skew/kurtosis when passed a Series with bad data (:issue:`5749`)
119-
- Bug in scipy ``interpolate`` methods with a datetime index (:issue: `5975`)
119+
- Bug in scipy ``interpolate`` methods with a datetime index (:issue:`5975`)
120120
- Bug in NaT comparison if a mixed datetime/np.datetime64 with NaT were passed (:issue:`5968`)
121121

122122
pandas 0.13.0

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)