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

Commit95c87f2

Browse files
ksundenmeeseeksmachine
authored andcommitted
Backport PR#29673: DOC: document the issues with overlaying new mpl on old mpl
1 parenta64d453 commit95c87f2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

‎doc/api/prev_api_changes/api_changes_3.8.0/behaviour.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,22 @@ saved.
171171

172172
Previously, *mincnt* was inclusive with no *C* provided but exclusive when *C* is provided.
173173
It is now inclusive of *mincnt* in both cases.
174+
175+
176+
``matplotlib.mpl_toolkits`` is now an implicit namespace package
177+
----------------------------------------------------------------
178+
179+
Following the deprecation of ``pkg_resources.declare_namespace`` in ``setuptools`` 67.3.0,
180+
``matplotlib.mpl_toolkits`` is now implemented as an implicit namespace, following
181+
`PEP 420<https://peps.python.org/pep-0420/>`_.
182+
183+
As a consequence using ``pip`` to install a version of Matplotlib >= 3.8 on top
184+
of a version of Matplotlib < 3.8 (e.g. via ``pip install --local`` or
185+
``python -m venv --system-site-packages ...``) will fail because the old
186+
``matplotlib.mpl_toolkits`` files will be found whereas the newer files will be
187+
found for all other modules. This will result in errors due to the version
188+
mismatch.
189+
190+
To avoid this issue you need to avoid having multiple versions of Matplotlib
191+
in different entries of ``sys.path``. Either uninstall Matplotlib
192+
at the system level or use a more isolated virtual environment.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp