Skip to content

Switch to log scale raises exception *after* editing figure options. #7098

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

Closed
anntzer opened this issue Sep 12, 2016 · 2 comments
Closed

Switch to log scale raises exception *after* editing figure options. #7098

anntzer opened this issue Sep 12, 2016 · 2 comments

Comments

@anntzer
Copy link
Contributor

anntzer commented Sep 12, 2016

2.0b4.

plot([0, 1, 2])

Pressing l (switch y to log-scale) results in ignoring the point at (0, 0) for the autoscaling which is a fairly reasonable thing to do. But after opening the figure options, not editing anything and pressing OK, pressing l now results in a crash during the figure redraw (basically because the ylims are now considered to be force-set).
Note that #6983 cannot handle this because the key handler only calls draw_idle, so the exception occurs too late to be caught.

@efiring
Copy link
Member

efiring commented May 23, 2019

This also seems to have been fixed. I can't reproduce it.

@efiring efiring closed this as completed May 23, 2019
@anntzer
Copy link
Contributor Author

anntzer commented May 25, 2019

There's no crash anymore, but the behavior still changes after opening the figure options window. Not sure there's much to do about it, though.

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

No branches or pull requests

2 participants