Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57daa4d

Browse files
authored
Merge pull request #9316 from anntzer/apichanges-22
API: Removal of deprecated features for 2.2
2 parents 8a1d647 + b3aa667 commit 57daa4d

38 files changed

Lines changed: 198 additions & 4784 deletions

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ test_script:
101101

102102
# this are optional dependencies so that we don't skip so many tests...
103103
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape miktex pillow
104-
# missing packages on conda-forge for avconv mencoder imagemagick
104+
# missing packages on conda-forge for avconv imagemagick
105105
# This install sometimes failed randomly :-(
106106
#- choco install imagemagick
107107

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ addons:
3030
- libgeos-dev
3131
- libgirepository-1.0.1
3232
- lmodern
33-
- mencoder
3433
- otf-freefont
3534
- pgf
3635
- texlive-fonts-recommended

INSTALL.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ To run the test suite:
8484
:file:`lib\\mpl_toolkits\\tests` directories from the source distribution;
8585
* install test dependencies: `pytest <https://pypi.python.org/pypi/pytest>`_,
8686
`mock <https://pypi.python.org/pypi/mock>`_, Pillow, MiKTeX, GhostScript,
87-
ffmpeg, avconv, mencoder, ImageMagick, and `Inkscape
88-
<https://inkscape.org/>`_;
87+
ffmpeg, avconv, ImageMagick, and `Inkscape <https://inkscape.org/>`_;
8988
* run ``py.test path\to\tests\directory``.
9089

9190

doc/api/animation_api.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -302,17 +302,3 @@ Inheritance Diagrams
302302

303303
.. inheritance-diagram:: matplotlib.animation.AVConvFileWriter matplotlib.animation.AVConvWriter matplotlib.animation.FFMpegFileWriter matplotlib.animation.FFMpegWriter matplotlib.animation.ImageMagickFileWriter matplotlib.animation.ImageMagickWriter
304304
:private-bases:
305-
306-
307-
308-
Deprecated
309-
==========
310-
311-
312-
.. autosummary::
313-
:toctree: _as_gen
314-
:nosignatures:
315-
316-
MencoderBase
317-
MencoderFileWriter
318-
MencoderWriter
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Removal of deprecated contouring code
2+
`````````````````````````````````````
3+
4+
Contouring no longer supports ``legacy`` corner masking.
5+
6+
The deprecated ``ContourSet.vmin`` and ``ContourSet.vmax`` properties have been
7+
removed.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Removal of deprecated features
2+
``````````````````````````````
3+
4+
The ``matplotlib.finance``, ``mpl_toolkits.exceltools`` and
5+
``mpl_toolkits.gtktools`` modules have been removed. ``matplotlib.finance``
6+
remains available at https://github.com/matplotlib/mpl_finance.
7+
8+
The ``mpl_toolkits.mplot3d.art3d.iscolor`` function has been removed.
9+
10+
The ``Axes.get_axis_bgcolor``, ``Axes.set_axis_bgcolor``,
11+
``Bbox.update_from_data``, ``Bbox.update_datalim_numerix``,
12+
``MaxNLocator.bin_boundaries`` methods have been removed.
13+
14+
The ``bgcolor`` keyword argument to ``Axes`` has been removed.
15+
16+
The ``spectral`` colormap has been removed. The ``Vega*`` colormaps, which
17+
were aliases for the ``tab*`` colormaps, have been removed.
18+
19+
``mencoder`` can no longer be used to encode animations.
20+
21+
Passing ``None`` instead of ``"none"`` as format to `~.Axes.errorbar` is no
22+
longer supported.

doc/api/axes_api.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ Clearing
192192
Axes.clear
193193

194194

195-
196195
Appearance
197196
==========
198197

@@ -214,14 +213,11 @@ Appearance
214213

215214
Axes.grid
216215

217-
Axes.get_axis_bgcolor
218216
Axes.get_facecolor
219217
Axes.get_fc
220218

221219
Axes.set_facecolor
222220
Axes.set_fc
223-
Axes.set_axis_bgcolor
224-
225221

226222

227223
Property cycle

doc/api/finance_api.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

doc/api/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
dates_api.rst
3232
dviread.rst
3333
figure_api.rst
34-
finance_api.rst
3534
font_manager_api.rst
3635
gridspec_api.rst
3736
image_api.rst

doc/api/toolkits/mplot3d.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Art3D Utility Functions
7777
art3d.get_colors
7878
art3d.get_dir_vector
7979
art3d.get_patch_verts
80-
art3d.iscolor
8180
art3d.juggle_axes
8281
art3d.line_2d_to_3d
8382
art3d.line_collection_2d_to_3d

0 commit comments

Comments
 (0)