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 c9ec54b

Browse filesBrowse files
committed
Fix typo in code example in docstring.
1 parent 7bb70b9 commit c9ec54b
Copy full SHA for c9ec54b

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
@@ -150,7 +150,7 @@
150150
Note that one can create a `ScalarMappable` "on-the-fly" to generate
151151
colorbars not attached to a previously drawn artist, e.g. ::
152152
153-
fig.colorbar(cm.ScalarMappable(norm=norm, cmap=cmap, ax=ax))
153+
fig.colorbar(cm.ScalarMappable(norm=norm, cmap=cmap), ax=ax)
154154
155155
cax : :class:`~matplotlib.axes.Axes` object, optional
156156
Axes into which the colorbar will be drawn.

0 commit comments

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