-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
scatter edgecolor is broken in Matplotlib 2.0.0b3 #6844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The documented kwarg name is |
I feel like if a user sets edgecolors='k', then they should see a black edge without having to put in another kwarg 'cause the assumption is that setting edgecolors will yield an edge. (can this just be a patch ala |
Yes, something along these lines could reduce the incidence of surprise. Doing it well is not trivial, though--handling these situations where changing one parameter implies changing another tends to be a bit tricky. At the very least the docstring needs to be fixed; its description of the |
I get...but like I feel that a core principal of arguments should be that they do what they imply they will and edgecolor implies that there will be an edgecolor. |
#5596 is the origin of this change. The basic idea of the new default is fine; I think the problem is that it is implemented via the linewidths instead of the edgecolor. The simplest solution might be to remove the logic setting linewidth to zero and instead change the default edgecolor from 'face' to 'none'. All of this goes back to the PatchCollection--it is not just a scatter matter. |
👍 I think this would behave more intuitively |
This might also make more sense in a different way, too. If we were to have On the other hand, wasn't the problem with setting edgecolor from 'face' to On Wed, Jul 27, 2016 at 8:07 AM, Thomas Robitaille <notifications@github.com
|
On 2016/07/27 3:40 AM, Benjamin Root wrote:
I think this might have been a problem originally, but now non-filled |
The following script illustrates the issue:
Matplotlib 1.5.1
Matplotlib 2.0.0b3
In the Matplotlib 2.0.0b3 version, the scatter markers are missing edges.
The text was updated successfully, but these errors were encountered: