8000 FIX in the scatter method of axes, edgecolors needs to be fetch from … · matplotlib/matplotlib@107530d · GitHub
[go: up one dir, main page]

Skip to content

Commit 107530d

Browse files
committed
FIX in the scatter method of axes, edgecolors needs to be fetch from the kwargs
1 parent 94d6b42 commit 107530d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lib/matplotlib/axes.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4417,7 +4417,8 @@ def legend(self, *args, **kwargs):
44174417
instance. If *prop* is a dictionary, a new instance will be
44184418
created with *prop*. If *None*, use rc settings.
44194419
4420-
*fontsize*: [ size in points | 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' ]
4420+
*fontsize*: [size in points | 'xx-small' | 'x-small' | 'small' |
4421+
'medium' | 'large' | 'x-large' | 'xx-large']
44214422
Set the font size. May be either a size string, relative to
44224423
the default font size, or an absolute font size in points. This
44234424
argument is only used if prop is not specified.
@@ -5439,7 +5440,6 @@ def xywhere(xs, ys, mask):
54395440
if 'zorder' in kwargs:
54405441
plot_kw['zorder'] = kwargs['zorder']
54415442

5442-
54435443
if xerr is not None:
54445444
if (iterable(xerr) and len(xerr) == 2 and
54455445
iterable(xerr[0]) and iterable(xerr[1])):
@@ -6036,6 +6036,7 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
60366036
colors = mcolors.colorConverter.to_rgba_array(c, alpha)
60376037

60386038
faceted = kwargs.pop('faceted', None)
6039+
edgecolors = kwargs.get('edgecolors', None)
60396040
if faceted is not None:
60406041
warnings.warn("The faceted option is deprecated. "
60416042
"Please use edgecolor instead. Will "
@@ -6557,9 +6558,10 @@ def arrow(self, x, y, dx, dy, **kwargs):
65576558
Draws arrow on specified axis from (*x*, *y*) to (*x* + *dx*,
65586559
*y* + *dy*). Uses FancyArrow patch to construct the arrow.
65596560
6560-
The resulting arrow is affected by the axes aspect ratio and limits. This
6561-
may produce an arrow whose head is not square with its stem. To create
6562-
an arrow whose head is square with its stem, use :meth:`annotate`.
6561+
The resulting arrow is affected by the axes aspect ratio and limits.
6562+
This may produce an arrow whose head is not square with its stem. To
6563+
create an arrow whose head is square with its stem, use
6564+
:meth:`annotate`.
65636565
65646566
Optional kwargs control the arrow construction and properties:
65656567

0 commit comments

Comments
 (0)
0