I seem to recall that the MaxNLocator and some carefully chosen axes limits
suffices for me in the past.
On Tue, Oct 21, 2014 at 11:44 AM, Adam Hughes hughesada...@gmail.com
wrote:
I wrote a program that draws grids manually on mpl plots a while back. If
you can't find a solution can you
I was able to solve my two problems by doing label= and numpoints=1.
Thank you very much for your help.
I found my solution here:
http://stackoverflow.com/questions/19385639/duplicate-items-in-legend-in-matplotlib
There is also another cleaner solution here:
I'm seeing a memory leak with calls to subplot.clear() and canvas.draw()
on MacOS. The same code shows no leakage on unix.
Here is a simple script that demonstrates the problem.
#!/usr/bin/env python
from __future__ import division
Demonstrate a memory leak in matplotlib on MacOS with TkAgg