Next API changes#
This page lists API changes for the next release.
Behavior changes#
- Behavior change template
- alpha parameter handling on images
- Minor log tick labels are set depending on number of major log ticks, not on number of decades spanned
- Setting titles of figures using webagg backend
matplotlib.testing.check_figures_equaldefaults to PNG only- Mixing positional and keyword arguments for
legendhandles and labels... - Legend labels for
plot Axes.add_collection(..., autolim=True)updates view limitsfont_manager.findfontlogs if selected font weight does not match requested- FT2Font no longer sets a default size
mathtext.VectorParsenow includes glyph indices- Default name of
ListedColormap - hist2d no longer forces axes limits
- Bivariate colormaps now fully span the intended range of colors
- Windows configuration directory location
- Rendering of images now more accurate
- Default style parameter of
image_comparison pyplot.subplotandpyplot.subplot_mosaicraise ValueError on existing figures- New environment variable to ignore system fonts
Deprecations#
- Template for deprecations
GridFinder.transform_xyandGridFinder.inv_transform_xyaxes_grid.Grid.ngridsviolinplotandviolinvert parameterboxplotandbxpvert parameter, andrcParams["boxplot.vertical"]- Parameter
ListedColormap(..., N=...) - 3rd party scales do not need to have an axis parameter anymore
- Capitalization of None in matplotlibrc
DviFont.widths- Direct access to
Tfm'swidths,heights,depthsdicts - Increase to minimum supported versions of dependencies
testing.widgets.mock_eventandtesting.widgets.do_eventPdfFile.fontNames,PdfFile.dviFontInfo,PdfFile.type1DescriptorsFT2ImageBezierSegment.point_at_t- fontfile parameter of
PdfFile.createType1Descriptor matplotlib.style.core- Font kerning factor is deprecated
font_manager.is_opentype_cff_fontis deprecatedAxes.set_navigate_modeis deprecated- Parameters
Axes3D.set_aspect(..., anchor=..., share=...) GridFinder.get_grid_infonow takes a single bbox as parameteraxisartistnow uses more standard tick direction controls- The axes parameter of
RadialLocator PdfFile.multi_byte_charprocs- In-place modifications of colormaps
- The canvas parameter to
MultiCursor CallbackRegistry.disconnectcid parameter renamed to cid_or_func- Transforms helper functions
InvertedSymmetricalLogTransform.invlinthreshcbook.normalize_kwargsonly supports passing artists and artist classes as second argumentbackend_svg.XMLWriteris deprecatedkw,fontproperties,labelcolor, andvertsattributes ofQuiverKey- Arbitrary code in
axes.prop_cyclercParam strings - Contour labelling on filled contours
image.thumbnail
Removals#
- Removal change template
plot_dateapply_theta_transformsoption inPolarTransformmatplotlib.cm.get_cmapGridHelperCurveLinear.get_tick_iterator- nth_coord parameter to axisartist helpers for fixed axis
TransformNode.is_bboxrcsetup.interactive_bk,rcsetup.non_interactive_bkandrcsetup.all_backendsBboxTransformToMaxOnly- interval parameter of
TimerBase.start