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 47b9c19

Browse filesBrowse files
tacaswelltimhoffm
andcommitted
DOC: fix typos
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 99d70bd commit 47b9c19
Copy full SHA for 47b9c19

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎lib/matplotlib/axes/_axes.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4524,7 +4524,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
45244524
cbook._warn_external(
45254525
f"You passed a edgecolor/edgecolors ({orig_edgecolor!r}) "
45264526
f"for an unfilled marker ({marker!r}). Matplotlib is "
4527-
"ignoring the edge color in favor of the facecolor. This "
4527+
"ignoring the edgecolor in favor of the facecolor. This "
45284528
"behavior may change in the future."
45294529
)
45304530
# We need to handle markers that can not be filled (like
@@ -4539,9 +4539,9 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
45394539
# While not an ideal situation, but is better than the
45404540
# alternatives.
45414541
if marker_obj.get_fillstyle() == 'none':
4542-
# promote the face color to be the edgecolor
4542+
# promote the facecolor to be the edgecolor
45434543
edgecolors = colors
4544-
# set the facecolor to None (at the last chance) because
4544+
# set the facecolor to 'none' (at the last chance) because
45454545
# we can not not fill a path if the facecolor is non-null.
45464546
# (which is defendable at the renderer level)
45474547
colors = 'none'

0 commit comments

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