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 issue where matplotlib viewers using y log axes were not initialized correctly. #2324

Merged
merged 3 commits into from
Oct 11, 2022

Conversation

Carifio24
Copy link
Member

This PR aims to fix #2194, which actually affects any of the matplotlib viewers that use log axes. The reason for the incorrect aspect described in the issue is that we currently only update the x log axes when setting up callbacks. This PR adds a call to update_y_log as well.

Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

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

Thank you for the fix! ⭐

@astrofrog
Copy link
Member

@Carifio24 - could you rebase to resolve the conflict in CHANGES.md?

@Carifio24
Copy link
Member Author

@astrofrog Should be good now!

@dhomeier dhomeier added the bug label Oct 11, 2022
@dhomeier dhomeier changed the title Fix incorrect aspect when opening plots with log y axis Fix issue where matplotlib viewers using y log axes were not initialized correctly. Oct 11, 2022
CHANGES.md Outdated Show resolved Hide resolved
@dhomeier dhomeier merged commit 1f40727 into glue-viz:main Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong aspect when recovering a log plot from a saved session
3 participants