File tree 3 files changed +9
-16
lines changed
3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ Removals
2
2
--------
3
3
The following deprecated APIs have been removed:
4
4
5
+ Modules
6
+ ~~~~~~~
7
+ - ``backends.qt_editor.formlayout `` (use the formlayout module available on
8
+ PyPI instead).
9
+
5
10
Classes and methods
6
11
~~~~~~~~~~~~~~~~~~~
7
12
- ``backend_bases.RendererBase.strip_math() ``
@@ -126,3 +131,7 @@ rcParams
126
131
:rc: `savefig.facecolor ` to "none" to get a transparent background.
127
132
- The ``pgf.debug ``, ``verbose.fileo `` and ``verbose.verbose.level `` rcParams,
128
133
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():
510
510
def _get_data_path ():
511
511
"""Return the path to matplotlib data."""
512
512
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
-
522
513
path = Path (__file__ ).with_name ("mpl-data" )
523
514
if path .is_dir ():
524
515
return str (path )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments