File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ Removals
22--------
33The following deprecated APIs have been removed:
44
5+ Modules
6+ ~~~~~~~
7+ - ``backends.qt_editor.formlayout `` (use the formlayout module available on
8+ PyPI instead).
9+
510Classes and methods
611~~~~~~~~~~~~~~~~~~~
712- ``backend_bases.RendererBase.strip_math() ``
@@ -126,3 +131,7 @@ rcParams
126131 :rc: `savefig.facecolor ` to "none" to get a transparent background.
127132- The ``pgf.debug ``, ``verbose.fileo `` and ``verbose.verbose.level `` rcParams,
128133 which had no effect, have been removed.
134+
135+ Environment variables
136+ ~~~~~~~~~~~~~~~~~~~~~
137+ - ``MATPLOTLIBDATA `` (no replacement).
Original file line number Diff line number Diff line change @@ -510,15 +510,6 @@ def get_cachedir():
510510def _get_data_path ():
511511 """Return the path to matplotlib data."""
512512
513- if 'MATPLOTLIBDATA' in os .environ :
514- path = os .environ ['MATPLOTLIBDATA' ]
515- if not os .path .isdir (path ):
516- raise RuntimeError ('Path in environment MATPLOTLIBDATA not a '
517- 'directory' )
518- cbook .warn_deprecated (
519- "3.1" , name = "MATPLOTLIBDATA" , obj_type = "environment variable" )
520- return path
521-
522513 path = Path (__file__ ).with_name ("mpl-data" )
523514 if path .is_dir ():
524515 return str (path )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments