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

Appearance settings

Commit fc6ea85

Browse filesBrowse files
authored
Merge pull request #13789 from ksunden/set_clim
BUG: Fix function signature mismatch for set_clim
2 parents 7e9c756 + 3ed62e4 commit fc6ea85
Copy full SHA for fc6ea85

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/colorbar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colorbar.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def set_cmap(self, cmap):
331331
pass
332332

333333
@cbook.deprecated("3.1", alternative="ScalarMappable.set_clim")
334-
def set_clim(self, cmap):
334+
def set_clim(self, vmin=None, vmax=None):
335335
"""
336336
`.colorbar.Colorbar.set_clim` does nothing; set the limits on
337337
the mappable associated with this colorbar.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.