|
From: Eric F. <ef...@ha...> - 2011-06-04 20:20:24
|
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 |