Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f87e22

Browse files
authored
Merge pull request#16415 from anntzer/k31
Expire some APIs deprecated in mpl3.1.
2 parentsfa21675 +1c9354d commit7f87e22

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

‎doc/api/next_api_changes/removals.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ Removals
22
--------
33
The 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+
510
Classes 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).

‎lib/matplotlib/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,6 @@ def get_cachedir():
510510
def_get_data_path():
511511
"""Return the path to matplotlib data."""
512512

513-
if'MATPLOTLIBDATA'inos.environ:
514-
path=os.environ['MATPLOTLIBDATA']
515-
ifnotos.path.isdir(path):
516-
raiseRuntimeError('Path in environment MATPLOTLIBDATA not a '
517-
'directory')
518-
cbook.warn_deprecated(
519-
"3.1",name="MATPLOTLIBDATA",obj_type="environment variable")
520-
returnpath
521-
522513
path=Path(__file__).with_name("mpl-data")
523514
ifpath.is_dir():
524515
returnstr(path)

‎lib/matplotlib/backends/qt_editor/formlayout.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp