Skip to content

Commit 89aeed6

Browse files
committed
Document that the mpl-data directory is required
See matplotlib#21375
1 parent 7f56c5d commit 89aeed6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/api/prev_api_changes/api_changes_3.5.0/development.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@ The `setuptools-scm-git-archive
3939
<https://pypi.org/project/setuptools-scm-git-archive/>`__ plugin is also used
4040
for consistent version export.
4141

42+
Data directory is no longer optional
43+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44+
45+
Historically, the ``mpl-data`` directory has been optional (example files were
46+
unnecessary, and fonts could be deleted if a suitable dependency on a system
47+
font were provided). Though example files are still optional, they have been
48+
substantially pared down, and we now consider the directory to be required.
49+
50+
Specifically, the ``matplotlibrc`` file found there is used for runtime
51+
verifications and must exist. Packagers may still symlink fonts to system
52+
versions if needed.
53+
4254
New runtime dependencies
4355
~~~~~~~~~~~~~~~~~~~~~~~~
4456

0 commit comments

Comments
 (0)