Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Set hexbin default linecolor to 'face' #7500
Conversation
NelleV
requested changes
Nov 22, 2016
Hi @dstansby
The patch looks good overall, but there are pep8 incompatible changes added. Also, can you document those changes in the default change section
(doc/users/dflt_style_changes.rst) and what's new section (doc/users/whats_new/README.rst).
Thanks
| - If 'none', draws the edges in the same color as the fill color. | ||
| - This is the default, as it avoids unsightly unpainted pixels | ||
| - between the hexagons. | ||
| + edgecolors : {'face', 'none', *None*} or mpl color, optional, default is 'face' |
dstansby
Nov 23, 2016
Contributor
I'm currently struggling to find a way to split it on to two lines without the 2nd line just becoming part of the paragraph underneath... Any ideas?
NelleV
Nov 23, 2016
Contributor
something like
edgecolors : {"face", "none", None, color}, optional, default: "face" would also have been acceptable.
NelleV
changed the title from
Set hexbin default linecolor to 'face' to [MRG] Set hexbin default linecolor to 'face'
Nov 22, 2016
NelleV
added the
needs_revision
label
Nov 22, 2016
tacaswell
added this to the
2.0 (style change major release)
milestone
Nov 23, 2016
tacaswell
added the
API Changes
label
Nov 23, 2016
tacaswell
changed the title from
[MRG] Set hexbin default linecolor to 'face' to [MRG+1] Set hexbin default linecolor to 'face'
Nov 23, 2016
| + | ||
| +The default value of the ``linecolor`` kwarg for `~matplotlib.Axes.hexbin` has | ||
| +changed from ``'none'`` to ``'face'``. If 'none' is now supplied, no line edges | ||
| +are drawn around the hexagons. |
tacaswell
Nov 23, 2016
Owner
This should note that the default behavior has not changed (just the meaning of 'none').
|
On 2016/11/23 10:34 AM, Thomas A Caswell wrote:
Or just leave out the "optional"? After all, specifying the default |
That's how Numpydoc already defines arguments that take a restricted set of inputs. |
NelleV
merged commit adfeab7
into matplotlib:master
Nov 23, 2016
|
Thanks for the patch @dstansby ! |
dstansby commentedNov 22, 2016
Fixes #7185