Skip to content

Commit 822f746

Browse files
committed
TST: fix test
1 parent 60abd39 commit 822f746

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
@@ -5124,6 +5124,8 @@ def test_twin_moved(twin):
51245124
ax.set_position([0.2, 0.2, 0.5, 0.5])
51255125
# test twinx or twiny
51265126
ax_twin = getattr(ax, 'twin{}'.format(twin))()
5127+
fig.draw_without_rendering()
5128+
51275129
assert_array_equal(ax.bbox.extents,
51285130
ax_twin.bbox.extents)
51295131

0 commit comments

Comments
 (0)