@@ -41,6 +41,13 @@ with nonfinite values are plotted using the bad color of the
4141`.collections.PathCollection `\ 's colormap (as set by
4242:meth: `.colors.Colormap.set_bad `).
4343
44+ Alpha blending in imshow of RBGA input
45+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46+
47+ The alpha-channel of RBGA images is now re-sampled independently of
48+ RGB channels. While this is a bug fix, it does change the output and
49+ may result in some down-stream image comparison tests to fail.
50+
4451Autoscaling
4552~~~~~~~~~~~
4653On log-axes where a single value is plotted at a "full" decade (1, 10, 100,
@@ -404,6 +411,26 @@ non-callable), the exception would be silently ignored and the default
404411formatter be used instead. This is no longer the case; the exception
405412is now propagated out.
406413
414+ Deprecation of redundant `Tick ` attributes
415+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
416+
417+ The ``gridOn ``, ``tick1On ``, ``tick2On ``, ``label1On ``, and ``label2On ``
418+ `~.Tick ` attributes have been deprecated. Directly get and set the visibility
419+ on the underlying artists, available as the ``gridline ``, ``tick1line ``,
420+ ``tick2line ``, ``label1 ``, and ``label2 `` attributes.
421+
422+ The ``label `` attribute, which was an alias for ``label1 ``, has been
423+ deprecated.
424+
425+ Subclasses that relied on setting the above visibility attributes needs to be
426+ updated; see e.g. :file: `examples/api/skewt.py `.
427+
428+ Passing a Line2D's drawstyle together with the linestyle is deprecated
429+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
430+
431+ Instead of ``plt.plot(..., linestyle="steps--") ``, use ``plt.plot(...,
432+ linestyle="--", drawstyle="steps") ``. ``ds `` is now an alias for ``drawstyle ``.
433+
407434
408435``pgi `` support dropped
409436-----------------------
@@ -454,6 +481,12 @@ Exception changes
454481 a `RuntimeError ` if they were called with a ``data `` kwarg and
455482 otherwise mismatched arguments. They now raise a `TypeError `
456483 instead.
484+ - `.Axes.streamplot ` does not support irregularly gridded ``x `` and ``y `` values.
485+ So far, it used to silently plot an incorrect result. This has been changed to
486+ raise a `ValueError ` instead.
487+ - The `.streamplot.Grid ` class, which is internally used by streamplot
488+ code, also throws a `ValueError ` when irregularly gridded values are
489+ passed in.
457490
458491Removals
459492--------
@@ -842,6 +875,37 @@ future version.
842875- `.cbook.is_hashable `
843876 Use ``isinstance(..., collections.abc.Hashable) `` instead.
844877
878+ - The `.backend_bases.RendererBase.strip_math `. Use
879+ `.cbook.strip_math ` instead.
880+
881+ Multiple internal functions that were exposed as part of the public API
882+ of `.mpl_toolkits.mplot3d ` are deprecated,
883+
884+ **mpl_toolkits.mplot3d.art3d **
885+
886+ - :func: `mpl_toolkits.mplot3d.art3d.norm_angle `
887+ - :func: `mpl_toolkits.mplot3d.art3d.norm_text_angle `
888+ - :func: `mpl_toolkits.mplot3d.art3d.path_to_3d_segment `
889+ - :func: `mpl_toolkits.mplot3d.art3d.paths_to_3d_segments `
890+ - :func: `mpl_toolkits.mplot3d.art3d.path_to_3d_segment_with_codes `
891+ - :func: `mpl_toolkits.mplot3d.art3d.paths_to_3d_segments_with_codes `
892+ - :func: `mpl_toolkits.mplot3d.art3d.get_patch_verts `
893+ - :func: `mpl_toolkits.mplot3d.art3d.get_colors `
894+ - :func: `mpl_toolkits.mplot3d.art3d.zalpha `
895+
896+ **mpl_toolkits.mplot3d.proj3d **
897+
898+ - :func: `mpl_toolkits.mplot3d.proj3d.line2d `
899+ - :func: `mpl_toolkits.mplot3d.proj3d.line2d_dist `
900+ - :func: `mpl_toolkits.mplot3d.proj3d.line2d_seg_dist `
901+ - :func: `mpl_toolkits.mplot3d.proj3d.mod `
902+ - :func: `mpl_toolkits.mplot3d.proj3d.proj_transform_vec `
903+ - :func: `mpl_toolkits.mplot3d.proj3d.proj_transform_vec_clip `
904+ - :func: `mpl_toolkits.mplot3d.proj3d.vec_pad_ones `
905+ - :func: `mpl_toolkits.mplot3d.proj3d.proj_trans_clip_points `
906+
907+ If your project relies on these functions, consider vendoring them.
908+
845909
846910Font Handling
847911~~~~~~~~~~~~~
@@ -907,8 +971,10 @@ GUI / backend details
907971 as it is a module-level global, no deprecation warning is emitted when
908972 accessing it).
909973- `.mlab.demean `
910-
911-
974+ - ``backend_gtk3cairo.FigureCanvasGTK3Cairo ``,
975+ - ``backend_wx.debug_on_error ``, ``backend_wx.fake_stderr ``,
976+ ``backend_wx.raise_msg_to_str ``, ``backend_wx.MenuButtonWx ``,
977+ ``backend_wx.PrintoutWx ``,
912978- ``matplotlib.backends.qt_editor.formlayout `` module
913979
914980This module is a vendored, modified version of the official formlayout _ module
@@ -1067,6 +1133,14 @@ updated to use `~.Formatter.format_ticks`.
10671133subclasses for which the formatting of a tick value depends on other tick
10681134values, such as `.ConciseDateFormatter `.
10691135
1136+ Added support for RGB(A) images in pcolorfast
1137+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1138+
1139+ pcolorfast now accepts 3D images (RGB or RGBA) arrays if the X and Y
1140+ specifications allow image or pcolorimage rendering; they remain unsupported by
1141+ the more general quadmesh rendering
1142+
1143+
10701144Invalid inputs
10711145--------------
10721146
0 commit comments