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

Langmuir 2D Tests: Better Analysis Plots #2960

Merged
merged 2 commits into from
Mar 14, 2022

Conversation

EZoni
Copy link
Member

@EZoni EZoni commented Mar 11, 2022

While looking at some of the Langmuir 2D tests, I noticed that the plots that we produce with our analysis script could be slightly improved (see comparison below for the test Langmuir_multi_2d_psatd_Vay_deposition; notable differences: size of colorbar, axis labels, axis ticks (physical extent instead of cell number)).

Old plot:

New plot:

@EZoni EZoni added component: tests Tests and CI cleaning Clean code, improve readability labels Mar 11, 2022
@EZoni EZoni requested a review from dpgrote March 11, 2022 18:54
@lgtm-com
Copy link
Contributor

lgtm-com bot commented Mar 11, 2022

This pull request introduces 1 alert when merging f59b763 into f00682d - view on LGTM.com

new alerts:

  • 1 for Unused import

Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

LGTM :)

Not sure why we hard-code to use the Agg backend everywhere, though.

Copy link
Member

@dpgrote dpgrote left a comment

Choose a reason for hiding this comment

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

This looks good! Thanks - I had considered making similar changes but never got to it.

Something I had considered was adding a third plot, showing E_sim - E_th since the individual plots are visually indistinguishable.

@RemiLehe RemiLehe merged commit f3fecb3 into ECP-WarpX:development Mar 14, 2022
@EZoni EZoni deleted the cleanup_langmuir_2d_plots branch September 19, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning Clean code, improve readability component: tests Tests and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants