Skip to content
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

Add more control over font sizes #806

Merged
merged 4 commits into from
May 19, 2021
Merged

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented May 18, 2021

A default font size of 10 is added to the config file. This allows users to increase the font size of axis ticks, contour labels, colorbar ticks, etc. with relative ease. This can be useful for figures for publications.

A default cartopy font size of 12 is also added.

In the same sections where colorbar ranges, color maps, etc. are defined, the default and title fonts can optionally now be supplied. This applies to climatology maps, Hovmoller plots, transects, T-S diagrams and various time series.

@xylar xylar self-assigned this May 18, 2021
@pep8speaks
Copy link

pep8speaks commented May 18, 2021

Hello @xylar! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-05-19 11:15:09 UTC

@xylar xylar changed the title Add default font size Add more control over font sizes May 18, 2021
@xylar
Copy link
Collaborator Author

xylar commented May 19, 2021

Testing

This was tested as part of an analysis test-suite run on Chrysalis:
https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.xylar/analysis_testing/chrysalis/add_new_transects_to_transport_time_series/

Here is an example from before:
image

And with this branch:
image

xylar added 4 commits May 19, 2021 13:13
This allows users to increase the font size of axis ticks,
contour labels, colorbar ticks, etc. with relative ease.
This can be useful for figures for publications.
@xylar xylar merged commit f26ca1c into MPAS-Dev:develop May 19, 2021
@xylar xylar deleted the add_default_font_size branch May 19, 2021 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants