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
Use fig.canvas.draw() instead of plt.draw() in tests.
This allows one to copy-paste the test and use an interactive backend,
while maintaining the test result. (Specifically, when using an
interactive backend, plt.draw will *not* set the renderer until
plt.show, whereas fig.canvas.draw will set it, allowing text extents to
be measured.)
0 commit comments