8000 Wholesale removal of features deprecated in 2.0. · matplotlib/matplotlib@b42a9f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit b42a9f8

Browse files
committed
Wholesale removal of features deprecated in 2.0.
1 parent af89b3f commit b42a9f8

File tree

20 files changed

+162
-2465
lines changed

20 files changed

+162
-2465
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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.

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

examples/images_contours_and_fields/demo_bboximage.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@
3131
a = np.linspace(0, 1, 256).reshape(1, -1)
3232
a = np.vstack((a, a))
3333

34-
maps = sorted(
35-
m for m in plt.cm.cmap_d
36-
if not m.endswith("_r") and # Skip reversed colormaps.
37-
not m.startswith(('spectral', 'Vega')) # Skip deprecated colormaps.
38-
)
34+
maps = sorted(m for m in plt.cm.cmap_d
35+
if not m.endswith("_r")) # Skip reversed colormaps.
3936

4037
# fig.subplots_adjust(top=0.99, bottom=0.01, left=0.2, right=0.99)
4138

0 commit comments

Comments
 (0)
0