8000 Update lib/matplotlib/tests/test_figure.py · matplotlib/matplotlib@00acdbb · GitHub
[go: up one dir, main page]

Skip to content

Commit 00acdbb

Browse files
authored
Update lib/matplotlib/tests/test_figure.py
draw_no_output doesn't exist yet ;-)
1 parent 5bf04bd commit 00acdbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ def test_subfigure_ticks():
10431043
fig.draw_no_output()
10441044
ticks120 = ax2.get_xticks()
10451045
fig.set_dpi(300)
1046-
fig.draw_no_output()
1046+
fig.canvas.draw()
10471047
ticks300 = ax2.get_xticks()
10481048
np.testing.assert_allclose(ticks120, ticks300)
10491049

0 commit comments

Comments
 (0)
0