On 06/04/2011 09:45 AM, Phil Elson wrote:
>  > I think the only case where this would work correctly is if the plot
> command would also trigger the creation of a new axes object.
> Can't see how this can ever happen given the pyplot.plot code, which
> creates a standard axes without passing through any arguments.
>
> I agree that there are situations when it doesn't make sense to define
> the projection when doing a plt.plot, maybe best to fix the projections
> documentation instead of providing a keyword which is not always valid.
> Either that, or plt.plot with a projection always makes a new axes?
>
> Attempting to pass the projection currently to plot results in an exception:
>
>     plt>>> plt.plot(range(10), projection='polar')
>     ...
>     TypeError: There is no line property "projection"
>

Yes, the behavior makes sense, the documentation doesn't; it will be fixed.

Eric

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to