Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bfa2af3

Browse filesBrowse files
committed
DOC: move the legend whats new
1 parent ec8b1d3 commit bfa2af3
Copy full SHA for bfa2af3

File tree

Expand file treeCollapse file tree

1 file changed

+23
-21
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+23
-21
lines changed

‎doc/users/whats_new.rst

Copy file name to clipboardExpand all lines: doc/users/whats_new.rst
+23-21Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,29 @@ The default ``linecolor`` keyword argument for :func:`~matplotlib.axes.Axes.hexb
208208
is now ``'face'``, and supplying ``'none'`` now prevents lines from being drawn
209209
around the hexagons.
210210

211+
Figure.legend() can be called without arguments
212+
-----------------------------------------------
213+
214+
Calling :meth:`.Figure.legend` can now be done with no arguments. In this case
215+
a legend will be created that contains all the artists on all the axes
216+
contained within the figure.
217+
218+
Multiple legend keys for legend entries
219+
---------------------------------------
220+
221+
A legend entry can now contain more than one legend key. The extended
222+
`~matplotlib.legend_handler.HandlerTuple` class now accepts two parameters:
223+
``ndivide`` divides the legend area in the specified number of sections;
224+
``pad`` changes the padding between the legend keys.
225+
226+
.. figure:: /gallery/text_labels_and_annotations/images/sphx_glr_legend_demo_004.png
227+
:target: ../gallery/text_labels_and_annotations/legend_demo.html
228+
:align: center
229+
:scale: 70
230+
231+
Multiple Legend Keys
232+
233+
211234

212235
Internals
213236
+++++++++
@@ -244,12 +267,6 @@ Pending
244267

245268

246269

247-
Figure.legend() can be called without arguments
248-
-----------------------------------------------
249-
250-
Calling :meth:`.Figure.legend` can now be done with no arguments. In this case
251-
a legend will be created that contains all the artists on all the axes
252-
contained within the figure.
253270

254271

255272
New parameter `clear` for :func:`~matplotlib.pyplot.figure`
@@ -329,21 +346,6 @@ specify a minimum value exponent to format as a scalar (ie. 0.001 instead of
329346
10\ :sup:`-3`).
330347

331348

332-
Multiple legend keys for legend entries
333-
---------------------------------------
334-
335-
A legend entry can now contain more than one legend key. The extended
336-
`~matplotlib.legend_handler.HandlerTuple` class now accepts two parameters:
337-
``ndivide`` divides the legend area in the specified number of sections;
338-
``pad`` changes the padding between the legend keys.
339-
340-
.. figure:: /gallery/text_labels_and_annotations/images/sphx_glr_legend_demo_004.png
341-
:target: ../gallery/text_labels_and_annotations/legend_demo.html
342-
:align: center
343-
:scale: 70
344-
345-
Multiple Legend Keys
346-
347349

348350
Path simplification updates
349351
---------------------------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.