Skip to content

Commit 8cbd482

Browse files
committed
TST: fix test
1 parent b5b7fae commit 8cbd482

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lib/matplotlib/tests/test_axes.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4955,6 +4955,8 @@ def test_twin_moved(twin):
49554955
ax.set_position([0.2, 0.2, 0.5, 0.5])
49564956
# test twinx or twiny
49574957
ax_twin = getattr(ax, 'twin{}'.format(twin))()
4958+
fig.draw_without_rendering()
4959+
49584960
assert_array_equal(ax.bbox.extents,
49594961
ax_twin.bbox.extents)
49604962

0 commit comments

Comments
 (0)