>> Hi Gökhan,
>> thanks for testing this small patch. Maybe one of the developers could
>> it or should I place it on the patch-tracker?
> Usually after some pinging someone picks up the code and commits in to
> the svn.
>> About the toggling of all grid-lines using
>> I not sure this is intended, because this means that you will allways
>> major and minor tick - grid lines using key 'g' instead of only toggling
>> major tick grid lines. Maybe a developer or other users could comment on
>> preferred behavior.
> Just create a simple plot and log-log x,y-axes and try hitting "g". Both
> minor and major gridlines must be visible to get a clear view. In some
> cases grids clutter the figure instead of helping.
> In my previous post, the main point was change in
> event.inaxes.grid(which='majorminor') doesn't really work as expected.
> Could you at least check that behavior?
I think it works like expected, i.e. it toggles the state of showing grid
lines for minor and major ticks.
The problem it the case were people set only major tick grid lines
and than press the key 'g', because than they change between having major and
minor tick grid lines and this is somehow a strange behavior, isn't it?
Therefore I myself am not convinced of that solution.
I spotted another annoyance:
Save the following lines in a file called test.py and run python test.py
import matplotlib.pyplot as plt
ax = plt.gca()
This doesn't work properly in the first call. If you call it from within
Ipython -pylab using run test.py again no difference. Only when you call
ax.grid(False, which='majorminor') grids disappear.
I'm sorry, I don't get your point. If I ran your script I get a window without
gridlines as expected. The result is independent of the call of
By the way are you using matplotlib-svn?
On Wednesday 21 April 2010 08:10:00 Gökhan Sever wrote:
On Tue, Apr 20, 2010 at 11:11 AM, Gökhan Sever <gokhansever@...1896....>wrote:
> On Tue, Apr 20, 2010 at 2:42 AM, Matthias Michler > > <MatthiasMichler@...361... > > > > > wrote: