Miscellaneous removals#
is_url
andURL_REGEX
are removed. (They were previously defined in the toplevelmatplotlib
module.)The
ArrowStyle.beginarrow
andArrowStyle.endarrow
attributes are removed; use thearrow
attribute to define the desired heads and tails of the arrow.backend_pgf.LatexManager.str_cache
is removed.backends.qt_compat.ETS
andbackends.qt_compat.QT_RC_MAJOR_VERSION
are removed, with no replacement.The
blocking_input
module is removed. Instead, usecanvas.start_event_loop()
andcanvas.stop_event_loop()
while connecting event callbacks as needed.cbook.report_memory
is removed; usepsutil.virtual_memory
instead.cm.LUTSIZE
is removed. UsercParams["image.lut"]
(default:256
) instead. This value only affects colormap quantization levels for default colormaps generated at module import time.Colorbar.patch
is removed; this attribute was not correctly updated anymore.ContourLabeler.get_label_width
is removed.Dvi.baseline
is removed (with no replacement).The format parameter of
dviread.find_tex_file
is removed (with no replacement).FancyArrowPatch.get_path_in_displaycoord
andConnectionPath.get_path_in_displaycoord
are removed. The path in display coordinates can still be obtained, as for other patches, usingpatch.get_transform().transform_path(patch.get_path())
.The
font_manager.win32InstalledFonts
andfont_manager.get_fontconfig_fonts
helper functions are removed.All parameters of
imshow
starting from aspect are keyword-only.QuadMesh.convert_mesh_to_paths
andQuadMesh.convert_mesh_to_triangles
are removed.QuadMesh.get_paths()
can be used as an alternative for the former; there is no replacement for the latter.ScalarMappable.callbacksSM
is removed. UseScalarMappable.callbacks
instead.streamplot.get_integrator
is removed.style.core.STYLE_FILE_PATTERN
,style.core.load_base_library
, andstyle.core.iter_user_libraries
are removed.SubplotParams.validate
is removed. UseSubplotParams.update
to changeSubplotParams
while always keeping it in a valid state.The
grey_arrayd
,font_family
,font_families
, andfont_info
attributes ofTexManager
are removed.Text.get_prop_tup
is removed with no replacements (because theText
class cannot know whether a backend needs to update cache e.g. when the text's color changes).Tick.apply_tickdir
didn't actually update the tick markers on the existing Line2D objects used to draw the ticks and is removed; useAxis.set_tick_params
instead.tight_layout.auto_adjust_subplotpars
is removed.The
grid_info
attribute ofaxisartist
classes has been removed.axes_grid1.axes_grid.CbarAxes
andaxisartist.axes_grid.CbarAxes
are removed (they are now dynamically generated based on the owning axes class).The
axes_grid1.Divider.get_vsize_hsize
andaxes_grid1.Grid.get_vsize_hsize
methods are removed.AxesDivider.append_axes(..., add_to_figure=False)
is removed. Useax.remove()
to remove the Axes from the figure if needed.FixedAxisArtistHelper.change_tick_coord
is removed with no replacement.floating_axes.GridHelperCurveLinear.get_boundary
is removed with no replacement.ParasiteAxesBase.get_images_artists
is removed.The "units finalize" signal (previously emitted by Axis instances) is removed. Connect to "units" instead.
Passing formatting parameters positionally to
stem()
is no longer possible.axisartist.clip_path
is removed with no replacement.