Skip to content

Add a flag to force the plots to close on exit #306

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

Merged
merged 7 commits into from
May 22, 2023

Conversation

jgray-19
Copy link
Contributor

  • Names are not perfect, but it works

@jgray-19 jgray-19 force-pushed the plot_improvements branch from 10e0911 to 376911d Compare May 16, 2023 09:37
@jgray-19 jgray-19 force-pushed the plot_improvements branch from 376911d to 86e10a7 Compare May 16, 2023 09:38
Copy link
Contributor

@ldeniau ldeniau left a comment

Choose a reason for hiding this comment

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

atexit will record a new kill_plots function at each call to plot with close_plots=true, not good.

Copy link
Contributor

@ldeniau ldeniau left a comment

Choose a reason for hiding this comment

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

atexit will record a new kill_plots function at each call to plot with close_plots=true, not good. This atexit should be combined/recorded with the other atexit of plot if possible.

jgray-19 added 4 commits May 22, 2023 09:59
…based on sid rather than every call of the plot command!
Also simplify the nil and number output so that less is repeated
@ldeniau ldeniau merged commit a5eeb46 into MethodicalAcceleratorDesign:dev May 22, 2023
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