Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit2e11021

Browse files
tacaswelljklymak
andauthored
MNT: fix truth-handling of arrays
Co-authored-by: Jody Klymak <jklymak@gmail.com>
1 parent4cd95ee commit2e11021

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4491,7 +4491,9 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
44914491
"or float array-like with the same size as x and y")
44924492

44934493
# get the original edgecolor the user passed before we normalize
4494-
orig_edgecolor=edgecolorsorkwargs.get('edgecolor',None)
4494+
orig_edgecolor=edgecolors
4495+
ifedgecolorsisNone:
4496+
orig_edgecolor=kwargs.get('edgecolor',None)
44954497
c,colors,edgecolors= \
44964498
self._parse_scatter_color_args(
44974499
c,edgecolors,kwargs,x.size,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp