Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: set internal flags first in FigureCanvasBase
If interactive mode is on using the model where every time any artist is invalidated/marked as stale a `draw_idle` is triggered and the user is using a non-Agg based backend, saving a png will result in a draw_idle call triggered from inside the __init__ method of `FigureCanvasBase` which then fails because the full object has not been set up (this is not a problem using the IPython hooks because the stale state is only checked once when all user code has completed executing). closes matplotlib#5094
- Loading branch information