Logo image Logo image
  • Plot types
  • Examples
  • Tutorials
  • Reference
  • User guide
  • Develop
  • Release notes
  • Next what's new?
    • Set equal aspect ratio for 3D plots
    • Give the 3D camera a custom focal length
    • 3D plots gained a 3rd "roll" viewing angle
    • Instructions for writing "What's new" entries
    • New axis scale asinh (experimental)
    • math_to_image now has a color keyword argument
    • Custom cap widths in box and whisker plots in bxp() and boxplot()
    • Double-quoted strings in matplotlibrc
    • New customization of MarkerStyle
    • Allow setting figure label size and weight globally and separately from title
    • Fix the dash offset of the Patch class
    • Font fallback in Agg
    • Axes.inset_axes flexibility
    • New layout_engine module
    • Legend can control alignment of title and handles
    • List of available font names
    • marker can now be set to the string "none"
    • New minimum macOS version
    • stairs(..., fill=True) to hide patch edge by setting lw=0
    • MultiCursor now supports Axes split over multiple figures
    • Add option to plt.streamplot to not break streamlines
    • PolygonSelector bounding boxes
    • Setting PolygonSelector vertices
    • Rectangle patch rotation point
    • ncol keyword argument to legend renamed to ncols
    • Selectors improvement: rotation, aspect ratio correction and add/remove state
    • SpanSelector widget can now be snapped to specified values
    • Striped lines (experimental)
    • Setting norms with strings
    • The active URL area rotates when link text is rotated
    • New external dependency ContourPy used for quad contour calculations
    • subplots , subplot_mosaic accept height_ratios and width_ratios arguments
    • Windows on Arm support
  • Next API changes
    • Behavior change template
    • Improved autoscaling for bezier curves
    • Large imshow images are now downsampled
    • Incompatible layout engines raise
    • Type1Font objects include more properties
    • 3D contourf polygons placed between levels
    • rcParams.copy() returns a new RcParams instance, rather than a dict
    • CallbackRegistry raises on unknown signals
    • FigureFrameWx constructor, subclasses, and get_canvas
    • FigureFrameWx.sizer
    • Move Axes title to not overlap with y axis offset
    • MathtextBackendAgg.get_results no longer returns used_characters
    • ArtistList proxies copy contents on iteration
    • AxesImage string representation
    • New algorithm keyword argument to contour and contourf
    • MacOSX backend to use sRGB instead of GenericRGB colorspace
    • QuadMesh mouseover defaults to False
    • No need to specify renderer for get_tightbbox and get_window_extent
    • $\doteq \doteqdot \dotminus \dotplus \dots$ are now surrounded by extra space
    • The encoding of style file is now specified to be utf-8
    • get_ticklabels now always populates labels
    • Default date limits changed to 1970-01-01 to 1970-01-02
    • Changed exception type for incorrect SVG date metadata
    • stem(..., markerfmt=...) behavior
    • The math parameter of mathtext.get_unicode_index is deprecated and defaults to False
    • mpl.rc_context no longer resets the value of 'backend'
    • The default rcParams["animation.convert_args"] changed
    • The pgf backend now uses the article documentclass as basis for compilation
    • The markerfacecoloralt parameter to Line2D is now supported by axes.errorbar
    • Warning when scatter plot color settings discarded
    • Specified exception types in Grid
    • Template for deprecations
    • Event handlers
    • axes_size internal helpers
    • Selector widget state internals
    • backend_gtk3.icon_filename and backend_gtk3.window_icon
    • Calling MarkerStyle() with no arguments or MarkerStyle(None)
    • backend_gtk3.error_msg_gtk and backend_wx.error_msg_wx
    • In the future, dviread.find_tex_file will raise a FileNotFoundError for missing files
    • backend_svg.generate_transform and backend_svg.generate_css
    • 3D Axis
    • Modifications to the Groupers returned by get_shared_x_axes and get_shared_y_axes
    • backend_pgf
    • transOffset parameter name
    • RendererGTK3Cairo and RendererGTK4Cairo
    • FigureManagerGTK3Agg and FigureManagerGTK4Agg
    • lastrect
    • ImageMagickBase.delay and ImageMagickBase.output_args
    • NavigationToolbar2GTK3 window
    • FigureFrameWx attributes and methods
    • FigureCanvasBase.resize
    • FigureCanvas without a required_interactive_framework attribute
    • Axes3D.dist
    • AxisArtistHelper.delta1 and AxisArtistHelper.delta2
    • axes_grid and axisartist removals
    • Axes.get_window_extent and Figure.get_window_extent won't accept parameters other than renderer anymore
    • AFM , configfont_pattern and Type1Font deprecated
    • Modules tight_bbox and tight_layout deprecated
    • Module docstring deprecated
    • Selector widget state internals
    • cleared parameter of get_renderer
    • ticker functions deprecated
    • cmap_d removal
    • seaborn styles renamed
    • matplotlib.cbook.maxdict is deprecated
    • Pending deprecation of layout methods
    • emit and auto parameters of set_xlim , set_ylim , set_zlim , set_rlim
    • Auto-removal of overlapping Axes by plt.subplot and plt.subplot2grid
    • Parameters to plt.figure() and the Figure constructor
    • backend_ps.convert_psfrags
    • Affine2D.identity()
    • backend_qt.qApp
    • ToolBase.destroy
    • matplotlib.text.get_rotation()
    • TextToPath.get_texmanager
    • _DummyAxis.dataLim and _DummyAxis.viewLim
    • Deprecations in testing.decorators
    • TexManager.get_font_config
    • Deprecation of helper functions in backends
    • figure.callbacks is deprecated
    • Passing too many positional arguments to tripcolor
    • backend_pdf.Operator and backend_pdf.Op.op
    • Methods to set parameters in LogLocator and LogFormatter*
    • checkdep_usetex deprecated
    • date_ticker_factory deprecated
    • Positional arguments in Artist constructors
    • Unused methods in Axis , Tick , XAxis , and YAxis
    • Axes.get_renderer_cache
    • Passing linefmt positionally is undeprecated
    • backend_pdf.Name.hexify
    • stem(..., use_line_collection=False)
    • The canvas and background attributes of MultiCursor
    • The texcommand and latex_header attributes of backend_pgf.LatexManager
    • FigureCanvasBase.pick
    • w_xaxis , w_yaxis , and w_zaxis of Axis3D
    • Tick.label
    • FigureManagerMac.close is deprecated
    • axislines.GridHelperBase.new_gridlines and axislines.Axes.new_gridlines
    • mlab.stride_windows
    • Development change template
    • gui_support.macosx setup option has been renamed to packages.macosx
    • Increase to minimum supported versions of Python and dependencies
    • sphinx>=3.0 and numpydoc>=1.0 are now required for building the docs
    • Removal change template
    • Removal of mplot3d deprecations
    • Support for passing tool names to ToolManager.add_tool
    • Unknown keyword arguments to savefig and FigureCanvas.print_foo methods
    • backend_tools.ToolFullScreen now inherits from ToolBase , not from ToolToggleBase
    • Removed loaded modules logging
    • colorbar defaults to stealing space from the mappable's axes rather than the current axes
    • Removal of deprecated mathtext APIs
    • Removal of deprecated MovieWriter.cleanup
    • mpl_toolkits.axes_grid1.axes_size.AddList
    • Removal of deprecated methods and properties in lines and patches
    • Removal of deprecations in cbook
    • Removal of deprecations in backends
    • Removal of deprecated methods in matplotlib.projections.polar
    • mpl_toolkits.axes_grid module removed
    • MarkerStyle is immutable
    • Passing positional arguments to LineCollection has been removed
    • Keyword arguments to gca() have been removed
    • Axis.cla() has been removed
    • key_press and button_press have been removed from FigureManager
    • Get/set window title methods have been removed from the canvas
    • BoxStyle._Base and transmute method of boxstyles
    • backend_template.new_figure_manager , backend_template.new_figure_manager_given_figure , and backend_template.draw_if_interactive
    • Passing bytes to FT2Font.set_text
  • GitHub statistics for 3.5.2 (May 02, 2022)
    • GitHub statistics for 3.5.1 (Dec 11, 2021)
    • GitHub statistics for 3.5.0 (Nov 15, 2021)
    • GitHub statistics for 3.4.3 (August 21, 2021)
    • GitHub statistics for 3.4.2 (May 08, 2021)
    • GitHub statistics for 3.4.1 (Mar 31, 2021)
    • GitHub statistics for 3.4.0 (Mar 26, 2021)
    • GitHub statistics for 3.3.4 (Jan 28, 2021)
    • GitHub statistics for 3.3.3 (Nov 11, 2020)
    • GitHub statistics for 3.3.2 (Sep 15, 2020)
    • GitHub statistics for 3.3.1 (Aug 13, 2020)
    • GitHub statistics for 3.3.0 (Jul 16, 2020)
    • GitHub statistics for 3.2.2 (Jun 17, 2020)
    • GitHub statistics for 3.2.1 (Mar 18, 2020)
    • GitHub statistics for 3.2.0 (Mar 04, 2020)
    • GitHub statistics for 3.1.3 (Feb 03, 2020)
    • GitHub statistics for 3.1.2 (Nov 21, 2019)
    • GitHub statistics for 3.1.1 (Jul 02, 2019)
    • GitHub statistics for 3.1.0 (May 18, 2019)
    • GitHub statistics for 3.0.3 (Feb 28, 2019)
    • GitHub statistics for 3.0.2 (Nov 10, 2018)
    • GitHub statistics for 3.0.1 (Oct 25, 2018)
    • GitHub statistics for 3.0.0 (Sep 18, 2018)
  • Windows on ARM support
  • What's new in Matplotlib 3.5.0 (Nov 15, 2021)
  • API Changes for 3.5.2
  • API Changes for 3.5.0
  • GitHub statistics for 3.5.2 (May 02, 2022)
    • GitHub statistics for 3.5.1 (Dec 11, 2021)
    • GitHub statistics for 3.5.0 (Nov 15, 2021)
    • GitHub statistics for 3.4.3 (August 21, 2021)
    • GitHub statistics for 3.4.2 (May 08, 2021)
    • GitHub statistics for 3.4.1 (Mar 31, 2021)
    • GitHub statistics for 3.4.0 (Mar 26, 2021)
    • GitHub statistics for 3.3.4 (Jan 28, 2021)
    • GitHub statistics for 3.3.3 (Nov 11, 2020)
    • GitHub statistics for 3.3.2 (Sep 15, 2020)
    • GitHub statistics for 3.3.1 (Aug 13, 2020)
    • GitHub statistics for 3.3.0 (Jul 16, 2020)
    • GitHub statistics for 3.2.2 (Jun 17, 2020)
    • GitHub statistics for 3.2.1 (Mar 18, 2020)
    • GitHub statistics for 3.2.0 (Mar 04, 2020)
    • GitHub statistics for 3.1.3 (Feb 03, 2020)
    • GitHub statistics for 3.1.2 (Nov 21, 2019)
    • GitHub statistics for 3.1.1 (Jul 02, 2019)
    • GitHub statistics for 3.1.0 (May 18, 2019)
    • GitHub statistics for 3.0.3 (Feb 28, 2019)
    • GitHub statistics for 3.0.2 (Nov 10, 2018)
    • GitHub statistics for 3.0.1 (Oct 25, 2018)
    • GitHub statistics for 3.0.0 (Sep 18, 2018)
  • GitHub statistics for 3.5.1 (Dec 11, 2021)
  • GitHub statistics for 3.5.0 (Nov 15, 2021)
  • What's new in Matplotlib 3.4.0 (Mar 26, 2021)
  • API Changes for 3.4.2
  • API Changes for 3.4.0
  • GitHub statistics for 3.4.1 (Mar 31, 2021)
  • GitHub statistics for 3.4.0 (Mar 26, 2021)
  • What's new in Matplotlib 3.3.0 (Jul 16, 2020)
  • API Changes for 3.3.1
  • API Changes for 3.3.0
  • GitHub statistics for 3.3.4 (Jan 28, 2021)
  • GitHub statistics for 3.3.3 (Nov 11, 2020)
  • GitHub statistics for 3.3.2 (Sep 15, 2020)
  • GitHub statistics for 3.3.1 (Aug 13, 2020)
  • GitHub statistics for 3.3.0 (Jul 16, 2020)
  • What's new in Matplotlib 3.2 (Mar 04, 2020)
  • API Changes for 3.2.0
  • GitHub statistics for 3.2.2 (Jun 17, 2020)
  • GitHub statistics for 3.2.1 (Mar 18, 2020)
  • GitHub statistics for 3.2.0 (Mar 04, 2020)
  • What's new in Matplotlib 3.1 (May 18, 2019)
  • API Changes for 3.1.1
  • API Changes for 3.1.0
  • GitHub statistics for 3.1.3 (Feb 03, 2020)
  • GitHub statistics for 3.1.2 (Nov 21, 2019)
  • GitHub statistics for 3.1.1 (Jul 02, 2019)
  • GitHub statistics for 3.1.0 (May 18, 2019)
  • What's new in Matplotlib 3.0 (Sep 18, 2018)
  • API Changes for 3.0.1
  • API Changes for 3.0.0
  • GitHub statistics for 3.0.3 (Feb 28, 2019)
  • GitHub statistics for 3.0.2 (Nov 10, 2018)
  • GitHub statistics for 3.0.1 (Oct 25, 2018)
  • GitHub statistics for 3.0.0 (Sep 18, 2018)
  • What's new in Matplotlib 2.2 (Mar 06, 2018)
  • API Changes in 2.2.0
  • What's new in Matplotlib 2.1.0 (Oct 7, 2017)
  • API Changes in 2.1.2
  • API Changes in 2.1.1
  • API Changes in 2.1.0
  • What's new in Matplotlib 2.0 (Jan 17, 2017)
    • Changes to the default style
  • API Changes in 2.0.1
  • API Changes in 2.0.0
  • What's new in Matplotlib 1.5 (Oct 29, 2015)
  • API Changes in 1.5.3
  • API Changes in 1.5.2
  • API Changes in 1.5.0
  • What's new in Matplotlib 1.4 (Aug 25, 2014)
  • API Changes in 1.4.x
  • What's new in Matplotlib 1.3 (Aug 01, 2013)
  • API Changes in 1.3.x
  • What's new in Matplotlib 1.2.2
  • What's new in Matplotlib 1.2 (Nov 9, 2012)
  • API Changes in 1.2.x
  • What's new in Matplotlib 1.1 (Nov 02, 2011)
  • API Changes in 1.1.x
  • What's new in Matplotlib 1.0 (Jul 06, 2010)
  • List of changes to Matplotlib prior to 2015
  • What's new in Matplotlib 0.99 (Aug 29, 2009)
  • Changes beyond 0.99.x
  • Changes in 0.99
  • What's new in Matplotlib 0.98.4
  • Changes for 0.98.x
  • Changes for 0.98.1
  • Changes for 0.98.0
  • Changes for 0.91.2
  • Changes for 0.91.0
  • Changes for 0.90.1
  • Changes for 0.90.0
  • Changes for 0.87.7
  • Changes for 0.86
  • Changes for 0.85
  • Changes for 0.84
  • Changes for 0.83
  • Changes for 0.82
  • Changes for 0.81
  • Changes for 0.80
  • Changes for 0.73
  • Changes for 0.72
  • Changes for 0.71
  • Changes for 0.70
  • Changes for 0.65.1
  • Changes for 0.65
  • Changes for 0.63
  • Changes for 0.61
  • Changes for 0.60
  • Changes for 0.54.3
  • Changes for 0.54
  • Changes for 0.50
  • Changes for 0.42
  • Changes for 0.40

mpl.rc_context no longer resets the value of 'backend'#

matplotlib.rc_context incorrectly reset the value of rcParams["backend"] if backend resolution was triggered in the context. This affected only the value. The actual backend was not changed. Now, matplotlib.rc_context does not reset rcParams["backend"] anymore.

© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2022 The Matplotlib development team.

Created using Sphinx 5.1.1.