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

Skip to content

Commit 9690898

Browse files
committed
DOC: move collection scatter flattening docs to api changes
1 parent f6331fb commit 9690898

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

doc/api/api_changes.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,14 @@ When using :func:`~matplotlib.axes.Axes.set_xlim` and
370370
results in a ``ValueError``. The previous behavior resulted in the
371371
limits being erroneously reset to ``(-0.001, 0.001)``.
372372

373+
`scatter` and `Collection` offsets are no longer implicitly flattened
374+
---------------------------------------------------------------------
375+
376+
`~matplotlib.collections.Collection` (and thus both 2D
377+
`~matplotlib.axes.Axes.scatter` and 3D
378+
`~mpl_toolkits.mplot3d.axes3d.Axes3D.scatter`) no
379+
longer implicitly flattens its offsets. As a consequence, ``scatter``'s ``x``
380+
and ``y`` arguments can no longer be 2+-dimensional arrays.
373381

374382

375383
API Changes in 2.0.1

doc/users/whats_new.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -414,17 +414,6 @@ The methods :meth:`~matplotlib.colors.LinearSegmentedColormap.reversed` and
414414
instance of the Colormap. This implements a way for any Colormap to be
415415
reversed.
416416

417-
418-
`Collection` offsets are no longer implicitly flattened
419-
-------------------------------------------------------
420-
421-
`~matplotlib.collections.Collection` (and thus both 2D
422-
`~matplotlib.axes.Axes.scatter` and 3D
423-
`~mpl_toolkits.mplot3d.axes3d.Axes3D.scatter`) no
424-
longer implicitly flattens its offsets. As a consequence, ``scatter``'s ``x``
425-
and ``y`` arguments can no longer be 2+-dimensional arrays.
426-
427-
428417
`Artist.setp` (and `pyplot.setp`) accept a `file` argument
429418
----------------------------------------------------------
430419

0 commit comments

Comments
 (0)