Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e098c commit 323b237Copy full SHA for 323b237
lib/matplotlib/colorbar.py
@@ -335,12 +335,16 @@ def set_clim(self, cmap):
335
336
@cbook.deprecated("3.1", alternative="ScalarMappable.get_cmap")
337
def get_cmap(self):
338
- 'return the colormap'
+ """
339
+ return the colormap
340
341
return self.cmap
342
343
@cbook.deprecated("3.1", alternative="ScalarMappable.get_clim")
344
def get_clim(self):
- 'return the min, max of the color limits for image scaling'
345
346
+ return the min, max of the color limits for image scaling
347
348
return self.norm.vmin, self.norm.vmax
349
350
0 commit comments