Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH: Add an environment variable to ignore system fonts#31486

Merged
QuLogic merged 1 commit intomatplotlib:mainfrom
QuLogic:ignore-system-fonts
Apr 16, 2026
Merged

ENH: Add an environment variable to ignore system fonts#31486
QuLogic merged 1 commit intomatplotlib:mainfrom
QuLogic:ignore-system-fonts

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Apr 11, 2026

PR summary

Not sure if it needs a What's New? entry; probably too niche for that.

Fixes #28488

AI Disclosure

None

PR checklist

@QuLogic QuLogic force-pushed the ignore-system-fonts branch from 3057730 to 63a1f6f Compare April 11, 2026 09:42
@afurm
Copy link
Copy Markdown

afurm commented Apr 13, 2026

The font cache (written to ~/.cache/matplotlib) may already contain entries indexed before this env var was set. Does this change correctly invalidate pre-existing cache entries, or could stale cache hits still surface system fonts?

@QuLogic
Copy link
Copy Markdown
Member Author

QuLogic commented Apr 13, 2026

@story645
Copy link
Copy Markdown
Member

Not sure if it needs a What's New? entry; probably too niche for that.

I think a short one couldn't hurt?

@QuLogic QuLogic force-pushed the ignore-system-fonts branch from 63a1f6f to a92cb01 Compare April 14, 2026 08:54
@tacaswell tacaswell added this to the v3.11.0 milestone Apr 16, 2026
@tacaswell
Copy link
Copy Markdown
Member

re-ran the failing 3.11 min version test.

Copy link
Copy Markdown
Member

@tacaswell tacaswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@QuLogic can self merge if tests are green.

@QuLogic
Copy link
Copy Markdown
Member Author

QuLogic commented Apr 16, 2026

3.11 minver passed this time; I'll ignore AppVeyor as the build shows all tests passed (and it just got hung up on the post-testing phases.)

@QuLogic QuLogic merged commit e4f9152 into matplotlib:main Apr 16, 2026
51 of 53 checks passed
@QuLogic QuLogic deleted the ignore-system-fonts branch April 16, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH]: Provide a way to avoid subcommands on import.

5 participants