This is weird:
When plotting something very simple, e.g.,
t = arange( 0.0, 2.0, 0.01 )
s = sin( 2*pi*t )
plot( t, s, ":" )
I thought I can check weather the grid is on or off by
gca().get_xgridlines()
-- but this *always* returns
<a list of 5 Line2D xgridline objects>
with *always* the same lines
Line2D((0,0),(0,1))
Line2D((0,0),(0,1))
Line2D((0,0),(0,1))
Line2D((0,0),(0,1))
Line2D((0,0),(0,1))
That's really independent of whether the grid is on or off.
Is there any explanation for it that does not have to do with Harry
Potter or the Jedi? ;)
--Nico
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users