On Tue, Apr 20, 2010 at 11:11 AM, Gökhan Sever <gokhansever@gmail.com> wrote:

On Tue, Apr 20, 2010 at 2:42 AM, Matthias Michler <MatthiasMichler@gmx.net> wrote:
Hi Gökhan,

thanks for testing this small patch. Maybe one of the developers could submit
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 toggling
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 the
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?


Kind regards,

Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
Matplotlib-users mailing list


Hi Matthias,

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()
ax.grid(False, which='majorminor')

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.