Skip to content

Commit 540f14c

Browse files
authored
Merge branch 'matplotlib:master' into patch-2
2 parents 3a3fe87 + b7d0591 commit 540f14c

File tree

131 files changed

+2558
-2134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+2558
-2134
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ per-file-ignores =
110110
tutorials/toolkits/axisartist.py: E501
111111

112112
examples/animation/frame_grabbing_sgskip.py: E402
113+
examples/lines_bars_and_markers/marker_reference.py: E402
113114
examples/images_contours_and_fields/tricontour_demo.py: E201
114115
examples/images_contours_and_fields/tripcolor_demo.py: E201
115116
examples/images_contours_and_fields/triplot_demo.py: E201

doc/_static/mpl.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,9 @@ does not float with it.
207207
visibility: hidden;
208208

209209
}
210+
211+
212+
table.property-table th,
213+
table.property-table td {
214+
padding: 4px 10px;
215+
}

doc/api/animation_api.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ on all systems.
186186

187187
FFMpegWriter
188188
ImageMagickWriter
189-
AVConvWriter
190189

191190
The file-based writers save temporary files for each frame which are stitched
192191
into a single file at the end. Although slower, these writers can be easier to
@@ -198,7 +197,6 @@ debug.
198197

199198
FFMpegFileWriter
200199
ImageMagickFileWriter
201-
AVConvFileWriter
202200

203201
Fundamentally, a `MovieWriter` provides a way to grab sequential frames
204202
from the same underlying `~matplotlib.figure.Figure` object. The base
@@ -283,7 +281,6 @@ and mixins
283281
:toctree: _as_gen
284282
:nosignatures:
285283

286-
AVConvBase
287284
FFMpegBase
288285
ImageMagickBase
289286

@@ -298,6 +295,6 @@ Inheritance Diagrams
298295
:private-bases:
299296
:parts: 1
300297

301-
.. inheritance-diagram:: matplotlib.animation.AVConvFileWriter matplotlib.animation.AVConvWriter matplotlib.animation.FFMpegFileWriter matplotlib.animation.FFMpegWriter matplotlib.animation.ImageMagickFileWriter matplotlib.animation.ImageMagickWriter
298+
.. inheritance-diagram:: matplotlib.animation.FFMpegFileWriter matplotlib.animation.FFMpegWriter matplotlib.animation.ImageMagickFileWriter matplotlib.animation.ImageMagickWriter
302299
:private-bases:
303300
:parts: 1

doc/api/artist_api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ Interactive
3636
Artist.format_cursor_data
3737
Artist.mouseover
3838
Artist.contains
39-
Artist.set_contains
40-
Artist.get_contains
4139
Artist.pick
4240
Artist.pickable
4341
Artist.set_picker

doc/api/axes_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,3 +606,4 @@ Other
606606
Axes.get_default_bbox_extra_artists
607607
Axes.get_transformed_clip_path_and_affine
608608
Axes.has_data
609+
Axes.set

doc/api/axis_api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ XAxis Specific
181181
XAxis.get_text_heights
182182
XAxis.get_ticks_position
183183
XAxis.set_ticks_position
184+
XAxis.set_label_position
184185
XAxis.tick_bottom
185186
XAxis.tick_top
186187

@@ -197,6 +198,7 @@ YAxis Specific
197198
YAxis.get_ticks_position
198199
YAxis.set_offset_position
199200
YAxis.set_ticks_position
201+
YAxis.set_label_position
200202
YAxis.tick_left
201203
YAxis.tick_right
202204

@@ -264,4 +266,5 @@ specify a matching series of labels. Calling ``set_ticks`` makes a
264266
Tick.set_label1
265267
Tick.set_label2
266268
Tick.set_pad
269+
Tick.set_url
267270
Tick.update_position

doc/api/next_api_changes.rst

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11

22
================
3-
Next API Changes
3+
Next API changes
44
================
55

66
.. ifconfig:: releaselevel == 'dev'
77

8-
.. note::
9-
10-
The list below is a table of contents of individual files from the
11-
most recent :file:`api_changes_X.Y` folder.
12-
13-
When a release is made
14-
15-
- The include directive below should be changed to point to the new file
16-
created in the previous step.
17-
18-
198
.. toctree::
209
:glob:
2110
:maxdepth: 1
Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
Axes used to make colorbar now wrapped
2-
======================================
3-
4-
The axes used to place a colorbar is now wrapped by a new parent class
5-
(``ColorbarAxes``) when the colorbar is created::
6-
7-
cb = fig.colorbar(im, cax=cax)
8-
9-
This means that ``cb.ax`` is no longer the same object as ``cax``. However,
10-
we map all the methods from ``cb.ax`` onto ``cax`` so ``cax`` should remain
11-
functionally the same as ``cb.ax``.
12-
131
Colorbar lines no longer clipped
142
================================
153

164
If a colorbar has lines added to it (e.g. for contour lines), these will
175
no longer be clipped. This is an improvement for lines on the edge of
186
the colorbar, but could lead to lines off the colorbar if the limits of
197
the colorbar are changed.
8+
9+
``Colorbar.patch`` is deprecated
10+
================================
11+
12+
This attribute is not correctly updated anymore.
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
``backend_gtk3.cursord``
2-
~~~~~~~~~~~~~~~~~~~~~~~~
3-
This dict is deprecated, in order to make the module importable on headless
4-
environments.
1+
``cursord`` in GTK, Qt, and wx backends
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The ``backend_gtk3.cursord``, ``backend_qt.cursord``, and
4+
``backend_wx.cursord`` dictionaries are deprecated. This makes the GTK module
5+
importable on headless environments.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
``epoch2num`` and ``num2epoch`` are deprecated
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
These methods convert from unix timestamps to matplotlib floats, but are not
4-
useed internally to matplotlib, and should not be needed by endusers.
4+
used internally to matplotlib, and should not be needed by endusers.
55
To convert a unix timestamp to datetime, simply use
66
`datetime.datetime.utcfromtimestamp`, or to use numpy datetime64
77
``dt = np.datetim64(e*1e6, 'us')``.

0 commit comments

Comments
 (0)