On Mon, Feb 15, 2010 at 8:28 PM, T J <tjhn...@gmail.com> wrote:
> On Mon, Feb 15, 2010 at 5:22 PM, John Hunter <jdh2...@gmail.com> wrote:
>> Very nice and thorough work.  I think this should be included, but
>> I'll wait to hear from other developers before committing.  Could you
>> confirm that the unit tests pass?
>>
>>>>> import matplotlib
>>>>> matplotlib.test()
>>
>
> Confirmed on rev 8133:
>
> Ran 124 tests in 341.585s
>
> FAILED (KNOWNFAIL=2, errors=2)
> and the errors were something to do with hexbin extents and the figimage 
> method.
>

Great -- I committed this patch in r8138


>> I think the markerangle would also be a useful contribution, though it
>> would render some of the markers redundant (eg triangle left, right,
>> etc, would all just be triangles with different angles...)
>>
>
> That was a concern I had as well, but I suppose > ^ v < (etc) could
> just be considered shortcuts to particular angles.  Presumably, we
> would not be removing them.  Correct?  Also, is the standard to have
> the angle specified in degrees?  So what is more useful:  markerangle
> or markerdeg?

We would definitely be leaving these as shortcuts and for backward
compatibility.  And yes the standard is to use degrees -- for
consistency with the text "rotation" property, we may want
markerrotation specified in degrees.

>
> The other difference is that when one specifies fillstyle='left', then
> it would only apply to the marker at 0 degrees.  Whereas, marker='v',
> fillstyle='left', markerangle=0  would correspond to marker='^',
> fillstyle='right', markerangle=180   (or something like that).

You can think about what the right way to do this is.  My first
inclination is that that left, right, etc, apply to the unrotated
marker, and then you apply the rotation.  So 'd' with markerrotation=0
and fillstyle='left' would be identical to 'd' with fillstyle='right'
and markerrotation=180.  But any convention you want to apply would
probably be fine as long as it is documented.  Note I am not sure this
is a terribly useful feature, but it might be marginally useful and it
seems like something that could be implemented unobtrusively.  So
don't kill yourself on it.

Thanks again for the nice work.

JDH

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to