Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit95621c8

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 functionSigned-off-by: Strzelczyk, Piotr <piotr.strzelczyk@intel.com>
1 parent34a6904 commit95621c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_colorbar.py

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

11931193
deftest_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)

[8]ページ先頭

©2009-2025 Movatter.jp