> The "g" key works fine, the grid is shown/hidden when you
> hit this key. I'm having the same problem in my
> application, I can not show the grid for some reason, and
> it seems to me that these 2 problems are related.
> Do you have any suggestion/pointer?
I answered this question before at
In a nutshell, do not manually bind 'g' to toggle the grid. This
already happens by default in matplotlib 0.72.
In WX* you have to click on the figure before any of the keypress
functionality is activated (does anyone know how to fix this?)