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 f642052

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

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
@@ -6427,11 +6427,11 @@ def invert(x):
64276427
assert isinstance(secax._axis.get_minor_locator(),
64286428
mticker.AutoMinorLocator)
64296429
ax.set_xscale('log')
6430-
plt.draw()
6430+
fig.canvas.draw()
64316431
assert isinstance(secax._axis.get_minor_locator(),
64326432
mticker.LogLocator)
64336433
ax.set_xscale('linear')
6434-
plt.draw()
6434+
fig.canvas.draw()
64356435
assert isinstance(secax._axis.get_minor_locator(),
64366436
mticker.NullLocator)
64376437

0 commit comments

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