Skip to content

Function to plot the nomalized derivative#78

Merged
rcjackson merged 7 commits into
ARM-DOE:mainfrom
jtgasparik:plot_norm_deriv
Feb 20, 2026
Merged

Function to plot the nomalized derivative#78
rcjackson merged 7 commits into
ARM-DOE:mainfrom
jtgasparik:plot_norm_deriv

Conversation

@jtgasparik

Copy link
Copy Markdown
Collaborator

No description provided.

@jtgasparik jtgasparik requested a review from rcjackson February 19, 2026 14:48

@rcjackson rcjackson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a unit test to make sure that the plot you get out of this function matches a baseline plot that you know is the correct plot. For more information on how to do this, see https://pytest-mpl.readthedocs.io/en/stable/index.html.

An example of such a test is here: https://github.com/ARM-DOE/ACT/blob/main/tests/plotting/test_contourdisplay.py

You will need to run your test first to get the baseline image you want. Then, from there, you will need to store the baseline image in the baseline sub-directory of tests.

@jtgasparik jtgasparik requested a review from rcjackson February 20, 2026 19:25
@rcjackson

Copy link
Copy Markdown
Collaborator

Looks good! Nice job on the plotting test. Merging

@rcjackson rcjackson merged commit cc344bf into ARM-DOE:main Feb 20, 2026
20 checks passed
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