Skip to content

Fix for Invariant Graphs#3869

Open
jellybean2004 wants to merge 1 commit intomainfrom
inv_graph_bugfix
Open

Fix for Invariant Graphs#3869
jellybean2004 wants to merge 1 commit intomainfrom
inv_graph_bugfix

Conversation

@jellybean2004
Copy link
Member

Description

This PR fixes the bug where new plots are being created for every calculation run. Plots will now only be created if an extrapolation is added or removed. Achieved using a flag extrapolation_made.

I also found that removing all extrapolation led to the deletion of all plots. I have addressed this by calling the initial plotting function to create a simple 1D data plot if extrapolation is removed.

Fixes #3865

How Has This Been Tested?

Manually tested functionality in software build.

Review Checklist:

Documentation

  • There is nothing that needs documenting
  • Documentation changes are in this PR
  • There is an issue open for the documentation (link?)

Installers

  • There is a chance this will affect the installers, if so
    • Windows installer (GH artifact) has been tested (installed and worked)
    • MacOSX installer (GH artifact) has been tested (installed and worked)
    • Wheels installer (GH artifact) has been tested (installed and worked)

Licensing

  • The introduced changes comply with SasView license (BSD 3-Clause)

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.

Graphs are regenerated in the invariant perspective

1 participant