Inconsistent naming of legend points

Dear all,

there is an inconsistency in the naming of the variable that describes
the number of points to display in the legend.
For `plt.plot` and `plt.errorbar` it is called "numpoints" but for
`plt.scatter` it is called "scatterpoints".
It would be less confusing if both could be set with a simple
"numpoints" in the legend function.
Please let me know what you think.

Kind regards,

Pim Schellart

I think what we may do is to make the default value of "scatterponts"
to None, and if None, set it to the value of numpoints.
But, I want to hear how others think about it.

Regards,

-JJ

···

On Fri, Mar 30, 2012 at 11:39 PM, Pim Schellart <P.Schellart@...1019...> wrote:

Dear all,

there is an inconsistency in the naming of the variable that describes
the number of points to display in the legend.
For `plt.plot` and `plt.errorbar` it is called "numpoints" but for
`plt.scatter` it is called "scatterpoints".
It would be less confusing if both could be set with a simple
"numpoints" in the legend function.
Please let me know what you think.

Kind regards,

Pim Schellart

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

Yes, I am only a user not a developer.
the different names make me confused at the beginning, it’s only last night I realised this
after more than 1 years use of matplotlib.
New beginners would be less confused if a unified name is used.

Chao

2012/4/19 Jae-Joon Lee <lee.j.joon@…149…>

···

I think what we may do is to make the default value of “scatterponts”

to None, and if None, set it to the value of numpoints.

But, I want to hear how others think about it.

Regards,

-JJ

On Fri, Mar 30, 2012 at 11:39 PM, Pim Schellart <P.Schellart@…1019…> wrote:

Dear all,

there is an inconsistency in the naming of the variable that describes

the number of points to display in the legend.

For plt.plot and plt.errorbar it is called “numpoints” but for

plt.scatter it is called “scatterpoints”.

It would be less confusing if both could be set with a simple

“numpoints” in the legend function.

Please let me know what you think.

Kind regards,

Pim Schellart


This SF email is sponsosred by:

Try Windows Azure free for 90 days Click Here

http://p.sf.net/sfu/sfd2d-msazure


Matplotlib-devel mailing list

Matplotlib-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


For Developers, A Lot Can Happen In A Second.

Boundary is the first to Know…and Tell You.

Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!

http://p.sf.net/sfu/Boundary-d2dvs2


Matplotlib-devel mailing list

Matplotlib-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Chao YUE
Laboratoire des Sciences du Climat et de l’Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex

Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16


I think that would be reasonable. And maybe put "scatterpoints" onto a
deprecation path?

Cheers!
Ben Root

···

On Thu, Apr 19, 2012 at 3:04 AM, Jae-Joon Lee <lee.j.joon@...149...> wrote:

I think what we may do is to make the default value of "scatterponts"
to None, and if None, set it to the value of numpoints.
But, I want to hear how others think about it.

Regards,

-JJ