-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #260 (Prevent subplots from overlapping in 6-panel plots)
This merge brings PR #260 (Prevent subplots from overlapping in 6-panel plots; Prevent colorbar labels from overlapping, by @yantosca) into the GCPy 1.4.0 development stream. This fixes a few issues with the 6-panel plots (as used in benchmarking), where the plots from each row were overlapping into the plots from the row below it. These issues were fixed by adjusting the spacing between the plot and colorbar, and also by adjusting the space between subplots manually. Also, several plot attributes are now stored in a style sheet rather than being hardwired in code. Signed-off-by: Bob Yantosca <[email protected]>
- Loading branch information
Showing
3 changed files
with
65 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ====================================================================== | ||
# Customizable style sheet to set plot parameters such as | ||
# font sizes of axes labels, tick marks, etc. | ||
# | ||
# Default values will be applied for settings not explicitly listed | ||
# below. For more information, see the Matplotlib documentation at: | ||
# https://matplotlib.org/stable/users/explain/customizing.html | ||
# ====================================================================== | ||
|
||
figure.titlesize : 25 # Top-of-plot title fontsize | ||
figure.autolayout : false # Don't use tight_layout() | ||
axes.titlesize : medium # Subplot title size | ||
axes.titlelocation : center # Subplot title location | ||
axes.titleweight : medium # Subplot title weight | ||
axes.labelsize : small # Subplot X and Y label size |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters