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

Ignoring errors when resizing canvas #12

Open
csmagnano opened this issue Apr 4, 2019 · 0 comments
Open

Ignoring errors when resizing canvas #12

csmagnano opened this issue Apr 4, 2019 · 0 comments

Comments

@csmagnano
Copy link
Collaborator

When the canvas for plotting gets resized, if it goes below a minimum size matplotlib throws an error. When resizing we check to make sure the canvas does not go below this size. However, if the window is being resized rapidly enough, the check can pass but be below the minimum size by the time matplotlib actually plots. Right now we go around this by catching and passing ValueErrors when resizing the canvas, but this is not good coding practice.

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

1 participant