Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
FIX in the scatter method of axes, edgecolors needs to be fetch from …
…the kwargs
  • Loading branch information
NelleV committed Jan 16, 2013
commit 107530d38c8c916d051b5789065fb4e185e0aff4
12 changes: 7 additions & 5 deletions lib/matplotlib/axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4417,7 +4417,8 @@ def legend(self, *args, **kwargs):
instance. If *prop* is a dictionary, a new instance will be
created with *prop*. If *None*, use rc settings.

*fontsize*: [ size in points | 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' ]
*fontsize*: [size in points | 'xx-small' | 'x-small' | 'small' |
'medium' | 'large' | 'x-large' | 'xx-large']
Set the font size. May be either a size string, relative to
the default font size, or an absolute font size in points. This
argument is only used if prop is not specified.
Expand Down Expand Up @@ -5439,7 +5440,6 @@ def xywhere(xs, ys, mask):
if 'zorder' in kwargs:
plot_kw['zorder'] = kwargs['zorder']


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

faceted = kwargs.pop('faceted', None)
edgecolors = kwargs.get('edgecolors', None)
if faceted is not None:
warnings.warn("The faceted option is deprecated. "
"Please use edgecolor instead. Will "
Expand Down Expand Up @@ -6557,9 +6558,10 @@ def arrow(self, x, y, dx, dy, **kwargs):
Draws arrow on specified axis from (*x*, *y*) to (*x* + *dx*,
*y* + *dy*). Uses FancyArrow patch to construct the arrow.

The resulting arrow is affected by the axes aspect ratio and limits. This
may produce an arrow whose head is not square with its stem. To create
an arrow whose head is square with its stem, use :meth:`annotate`.
The resulting arrow is affected by the axes aspect ratio and limits.
This may produce an arrow whose head is not square with its stem. To
create an arrow whose head is square with its stem, use
:meth:`annotate`.

Optional kwargs control the arrow construction and properties:

Expand Down