@@ -41,6 +41,13 @@ with nonfinite values are plotted using the bad color of the
41
41
`.collections.PathCollection `\ 's colormap (as set by
42
42
:meth: `.colors.Colormap.set_bad `).
43
43
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
+
44
51
Autoscaling
45
52
~~~~~~~~~~~
46
53
On 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
404
411
formatter be used instead. This is no longer the case; the exception
405
412
is now propagated out.
406
413
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
+
407
434
408
435
``pgi `` support dropped
409
436
-----------------------
@@ -454,6 +481,12 @@ Exception changes
454
481
a `RuntimeError ` if they were called with a ``data `` kwarg and
455
482
otherwise mismatched arguments. They now raise a `TypeError `
456
483
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.
457
490
458
491
Removals
459
492
--------
@@ -842,6 +875,37 @@ future version.
842
875
- `.cbook.is_hashable `
843
876
Use ``isinstance(..., collections.abc.Hashable) `` instead.
844
877
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
+
845
909
846
910
Font Handling
847
911
~~~~~~~~~~~~~
@@ -907,8 +971,10 @@ GUI / backend details
907
971
as it is a module-level global, no deprecation warning is emitted when
908
972
accessing it).
909
973
- `.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 ``,
912
978
- ``matplotlib.backends.qt_editor.formlayout `` module
913
979
914
980
This module is a vendored, modified version of the official formlayout _ module
@@ -1067,6 +1133,14 @@ updated to use `~.Formatter.format_ticks`.
1067
1133
subclasses for which the formatting of a tick value depends on other tick
1068
1134
values, such as `.ConciseDateFormatter `.
1069
1135
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
+
1070
1144
Invalid inputs
1071
1145
--------------
1072
1146
0 commit comments