You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't really a huge issue. It is a rare case that I can fix with a try except in the canvas draw method.
I have an animation running in my PySide GUI where the plot is inside a splitter. When the user drags the splitter to hide the plot I get a constant stream of errors. Draw doesn't work when the Canvas has either width == 0 or height == 0. If there is no height, width, or the canvas is not visible then the plot shouldn't try to draw at all.
This isn't really a huge issue. It is a rare case that I can fix with a try except in the canvas draw method.
I have an animation running in my PySide GUI where the plot is inside a splitter. When the user drags the splitter to hide the plot I get a constant stream of errors. Draw doesn't work when the Canvas has either width == 0 or height == 0. If there is no height, width, or the canvas is not visible then the plot shouldn't try to draw at all.
The text was updated successfully, but these errors were encountered: