-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add support for pgf.documentclass rcParam #30063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a92e294
8ca8f2d
7bbd8ae
db774e3
852824b
c4b684c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
PGF backend: new rcParam `pgf.documentclass` | ||
Check warning on line 1 in doc/users/next_whats_new/pgf-documentclass.rst
|
||
============================================ | ||
|
||
A new rcParam `pgf.documentclass` has been added to allow users to override | ||
Check warning on line 4 in doc/users/next_whats_new/pgf-documentclass.rst
|
||
the default LaTeX document class (`article`) used by the PGF backend. | ||
|
||
This enables better compatibility when including PGF figures in documents that | ||
Check warning on line 7 in doc/users/next_whats_new/pgf-documentclass.rst
|
||
use custom LaTeX classes like `IEEEtran` or others, avoiding layout | ||
issues like incorrect font sizes or spacing mismatches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default value should go in https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/mpl-data/matplotlibrc