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 a954394

Browse filesBrowse files
committed
Small cleanups
1 parent 001a800 commit a954394
Copy full SHA for a954394

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+1
-5
lines changed

‎lib/matplotlib/streamplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/streamplot.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def streamplot(axes, x, y, u, v, density=1, linewidth=None, color=None,
116116
line_colors = []
117117
color = np.ma.masked_invalid(color)
118118
else:
119-
line_kw['colors'] = color
119+
line_kw['color'] = color
120120
arrow_kw['color'] = color
121121

122122
if isinstance(linewidth, np.ndarray):

‎lib/mpl_toolkits/mplot3d/art3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/art3d.py
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -707,10 +707,6 @@ def _update_scalarmappable(sm):
707707
copy_state = sm._update_dict['array']
708708
ret = sm.update_scalarmappable()
709709
if copy_state:
710-
# if sm.get_fill():
711-
# sm._facecolor3d = sm._facecolors
712-
# elif not cbook._str_lower_equal(sm._original_facecolor, "none"):
713-
# sm._edgecolor3d = sm._edgecolors
714710
if sm._face_is_mapped:
715711
sm._facecolor3d = sm._facecolors
716712
elif sm._edge_is_mapped: # Should this be plain "if"?

0 commit comments

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