Ben, on master scatter legends are broken. A pull request (I can't remember
which, and github is down, possibly #1176) fixes this (obviously, the PR is
marked as release critical for 1.2).

I have confirmed, that even once fixed on master, the scatter legend
handler does not take notice of the "numpoints" kwarg.

Hope that helps clarify the matter,

Regards,

Phil


On 10 September 2012 14:51, Benjamin Root <ben.r...@ou.edu> wrote:

>
>
> On Mon, Sep 10, 2012 at 9:33 AM, Chao YUE <chaoyue...@gmail.com> wrote:
>
>> Hi Ben,
>>
>> I think I installed this version by following the instructions on
>> matplotlib website. But when I try to use git log, I get:
>>
>> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
>> pwd
>> /usr/local/lib/python2.7/dist-packages/matplotlib
>>
>> chaoyue@chaoyue-Aspire-4750:/usr/local/lib/python2.7/dist-packages/matplotlib$
>> git log
>> fatal: Not a git repository (or any of the parent directories): .git
>>
>> I tried to have a look at __init__.py, it has:
>>
>> from __future__ import print_function
>>
>> __version__  = '1.2.x'
>> __version__numpy__ = '1.4' # minimum required numpy version
>>
>> So it's the correct directory I am going. could you give some further
>> instructions?
>>
>> Chao
>>
>>
> Which directions? We have several for different kinds of installs.  We
> have not released v1.2.0 yet, so I was guessing you checked out mpl from
> github.  If that is the case, then you run "git log" from the source
> directory, not the install directory.
>
> Ben
>
>
>>
>> On Mon, Sep 10, 2012 at 3:05 PM, Benjamin Root <ben.r...@ou.edu> wrote:
>>
>>>
>>>
>>> On Mon, Sep 10, 2012 at 2:56 AM, Chao YUE <chaoyue...@gmail.com> wrote:
>>>
>>>> Hi Ben,
>>>>
>>>> I tried the "numpoints" in legend function for scatter plot, in dev
>>>> version and GTKAgg backend it works.
>>>>
>>>> In [3]: mat.__version__
>>>> Out[3]: '1.2.x'
>>>>
>>>> In [4]: mat.get_backend()
>>>> Out[4]: 'GTKAgg'
>>>>
>>>> Chao
>>>>
>>>>
>>> Strange, when I tested it last night, I was using a build of mpl from
>>> master of a couple weeks ago, and I saw three markers in the legend.  Now,
>>> I am trying it again with the latest master:
>>> 1478a1be70b3077b71350cecaccb774f76a76656, and I now see *zero* markers.
>>> Something is seriously broken.
>>>
>>> Can you tell me what commit (and the date for that commit) shows up at
>>> top when you run "git log" in the mpl source directory?
>>>
>>> Ben Root
>>>
>>>
>>
>>
>> --
>>
>> ***********************************************************************************
>> 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
>>
>> ************************************************************************************
>>
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to