Skip to content

Updated snapshot.py to take argparse arguments for plot customization#3327

Open
rosehffr wants to merge 6 commits intoAMReX-Astro:developmentfrom
rosehffr:main
Open

Updated snapshot.py to take argparse arguments for plot customization#3327
rosehffr wants to merge 6 commits intoAMReX-Astro:developmentfrom
rosehffr:main

Conversation

@rosehffr
Copy link
Copy Markdown
Contributor

PR summary

Updated the snapshot.py script to accept arguments for the tick size, label font size, and legend size in order for the user to easily customize the plots.

Plot with default parameters with no user arguments:

default_parameters

Plot ran with user arguments (--tick_size 20 --legend_size 20 --axis_label_size 20):

large_arguments

PR motivation

PR checklist

  • test suite needs to be run on this PR
  • this PR will change answers in the test suite to more than roundoff level
  • all newly-added functions have docstrings as per the coding conventions
  • the CHANGES file has been updated, if appropriate
  • if appropriate, this change is described in the docs

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.

2 participants