Navigation Menu

Skip to content
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

set numpoints to 1 #4854

Closed
dsm054 opened this issue Aug 2, 2015 · 6 comments
Closed

set numpoints to 1 #4854

dsm054 opened this issue Aug 2, 2015 · 6 comments

Comments

@dsm054
Copy link

dsm054 commented Aug 2, 2015

(File under "default changes". For all I know this is already on the list of things to change, but if so I couldn't find it under either "numpoints" or "scatterpoints".)

My most popular answer on SO (see "matplotlib legend markers only once") explains how to avoid multiple points showing up in the legend.

This is far from scientific, but for what it's worth the question has 107 upvotes, my answer has 117 upvotes, and neither has a single downvote.

My experience is that those who don't like the multiple-marker convention really don't like it, and those who do don't seem particularly worked up about it.

@tacaswell tacaswell added this to the Color overhaul milestone Aug 3, 2015
@joferkington
Copy link
Contributor

+1 from me.

I think an rcParam of legend.numpoints = 1 is a much better default than the current default of 2. If the default style does go with this, legend.scatterpoints should be changed to 1 at the same time, as well.

Worth including in the color overhaul, i.m.o.

@gauteh
Copy link
Contributor

gauteh commented Aug 18, 2015

👍

@HDembinski
Copy link

+1 from me, too :)

@Tillsten
Copy link
Contributor

+1

1 similar comment
@janpipek
Copy link

+1

@efiring
Copy link
Member

efiring commented Sep 23, 2015

If one of you will generate a suitable PR for this, it will be merged. I will be very surprised if there is any opposition.

gauteh added a commit to gauteh/matplotlib that referenced this issue Sep 24, 2015
@mdboom mdboom modified the milestones: Color overhaul, next major release (2.0) Oct 8, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Nov 11, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Nov 16, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Nov 16, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Nov 17, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Nov 23, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Nov 25, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Nov 27, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Dec 14, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Dec 14, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Dec 14, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Dec 17, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Dec 31, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Dec 31, 2015
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Jan 4, 2016
mdboom pushed a commit to mdboom/matplotlib that referenced this issue Jan 25, 2016
tacaswell added a commit that referenced this issue Feb 8, 2016
fix #4854: set default numpoints of legend entries to 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants