Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 188edb9

Browse filesBrowse files
committed
TST: fix test that relied on draw_idle not being a no-op
1 parent e3a7ddb commit 188edb9
Copy full SHA for 188edb9

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5896,11 +5896,11 @@ def invert(x):
58965896
assert isinstance(secax._axis.get_minor_locator(),
58975897
mticker.AutoMinorLocator)
58985898
ax.set_xscale('log')
5899-
plt.draw()
5899+
fig.canvas.draw()
59005900
assert isinstance(secax._axis.get_minor_locator(),
59015901
mticker.LogLocator)
59025902
ax.set_xscale('linear')
5903-
plt.draw()
5903+
fig.canvas.draw()
59045904
assert isinstance(secax._axis.get_minor_locator(),
59055905
mticker.NullLocator)
59065906

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.