Is it possible to get a style for subplots?
alexlib opened this issue · 3 comments
alexlib commented
The style looks great for a single axis plot, thanks. However, what shall be done for the subplots figure - to increase the figure size double in one direction?
echedey-ls commented
Set the figure size after appying the style. The Matplotlib documentation should have enough information on it; if not, someone at stackoverflow surely has had the same question.
SciencePlots' science style only sets a default size, you can change that afterwards.
…________________________________
From: Alex Liberzon ***@***.***>
Sent: Sunday, April 21, 2024 7:35:53 PM
To: garrettj403/SciencePlots ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [garrettj403/SciencePlots] Is it possible to get a style for subplots? (Issue #116)
The style looks great for a single axis plot, thanks. However, what shall be done for the subplots figure - to increase the figure size double in one direction?
—
Reply to this email directly, view it on GitHub<#116>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATDJ6YCN4L42U4TL77F5BWTY6P2HTAVCNFSM6AAAAABGRROYX6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TKMJYG42DMMQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
alexlib commented
What about the font size for multiple subplots figures?
echedey-ls commented
Please, read Matplotlib's documentation or find tutorials on the internet. These issues have nothing to do with SciencePlots.
https://matplotlib.org/stable/api/text_api.html#matplotlib.text.Text.set_fontsize
https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.text.html
Use the kwarg fontsize