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

Fix spectrum and PV slicer tools and improve overall UI #1366

Merged
merged 23 commits into from
Aug 8, 2017

Conversation

astrofrog
Copy link
Member

@astrofrog astrofrog commented Aug 5, 2017

This also internally (for now) allows aggregation in the image viewer (used by the spectrum tool). Will need to expose that in future as an alternative to slicing.

Also fixes issues with the GlueLogger and Ipython terminal when resetting or opening sessions from glue.

Finally improves the overall UI, moving buttons to the toolbar and making it clearer what they do.

When resetting a session, sys.stderr was already set to GlueLogger and we then did self.stderr = sys.stderr and sys.stderr = self so we ended up with two references to GlueLogger. This caused issues because the original logger would try and write to the button that was in the first (now deleted) application.
… opening a session, otherwise the terminal doesn't get set up.
…e confusion when pressing shift e.g. to capitalize a letter in the terminal
… restored if an exception happened during drawing.
…ly removing the layer (unlike the clear method)
@astrofrog
Copy link
Member Author

The failures are now unrelated

@astrofrog astrofrog merged commit 21abf4d into glue-viz:master Aug 8, 2017
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.

1 participant