Skip to content

Commit 95621c8

Browse files
Fix: restore make_axes to accept a tuple of axes
Allow to pass a tuple of axes as "ax" parameter of make_axes function Signed-off-by: Strzelczyk, Piotr <piotr.strzelczyk@intel.com>
1 parent 34a6904 commit 95621c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_colorbar.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ def test_colorbar_errors(kwargs, error, message):
11921192

11931193
def test_colorbar_axes_parmeters():
11941194
fig, ax = plt.subplots()
1195-
im = ax_ref.imshow([[0, 1], [2, 3]])
1195+
im = ax.imshow([[0, 1], [2, 3]])
11961196
# colorbar should accept any form of axes sequence:
11971197
fig.colorbar(im, ax=ax)
11981198
fig.colorbar(im, ax=ax[0])

0 commit comments

Comments
 (0)