Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 323b237

Browse files
committed
DOC: slight docstring reformat
1 parent d7e098c commit 323b237

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/matplotlib/colorbar.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,16 @@ def set_clim(self, cmap):
335335

336336
@cbook.deprecated("3.1", alternative="ScalarMappable.get_cmap")
337337
def get_cmap(self):
338-
'return the colormap'
338+
"""
339+
return the colormap
340+
"""
339341
return self.cmap
340342

341343
@cbook.deprecated("3.1", alternative="ScalarMappable.get_clim")
342344
def get_clim(self):
343-
'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+
"""
344348
return self.norm.vmin, self.norm.vmax
345349

346350

0 commit comments

Comments
 (0)