Skip to content

Conversation

@pfafflabatuiuc
Copy link
Contributor

@pfafflabatuiuc pfafflabatuiuc commented Jul 26, 2022

Found bug when trying to save a histogram plot.

Previously the title for the file created when saving the plot was being gathered from the title meta value in the current data being displayed. The histogram node however, was not saving the title meta value when processing the data, leading into the saving button not working when that happened.

Added a title attribute to the AutoPlot class that updates every time the _plotData method gets called if the title meta value is present in the data that is being processed at the moment.

If for some reason it still cannot find the title, an error will be displayed indicating to the user that it could not find the path instead of crashing.

Copy link
Contributor

@wpfff wpfff left a comment

Choose a reason for hiding this comment

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

looks good.

@wpfff wpfff merged commit 75991e0 into toolsforexperiments:master Jul 29, 2022
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