* On 2014-11-24 at 09:46, Ken Mankoff wrote:
> How can I flush/update/whatever the plot in code so that I can access
> the spine locations?
plt.draw() instead of plt.show()
-k.
--
Download BIRT iHub F-Type
Hi.
The following code reports a location for the axis spines due to the
print command in the last statement. If I re-run that last print command
immediately after running everything else, it reports different values.
Do other people experience this? I thought that the plt.show() command
is sort-o
I'm using mpl 1.4.2.
I posted this question onto StackOverflow and got a nice reply/tutorial.
https://stackoverflow.com/questions/26985210/
Thanks,
-k.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Serv
Hi Zhangtao,
When I run that code I do not see the 2nd subplot. If I add
"fig.canvas.draw()" to the bottom, it appears, but it is not the same width
as the upper subplot.
On Tue, Nov 18, 2014 at 10:15 AM, zhangtao wrote:
> from matplotlib.pylab import *
> fig = plt.figure(1)
> fig.clf()
> data
Hi List,
How can I make a plot have the same width as an image? The image (and
contour) have a fixed aspect ratio defined by the data. Now I'd like to
plot something under that image, with the same width.
I think this is trivial. I think I've done this in the past. But I
cannot find the code. Sea
almost perfect. If I change
that to "-90" or add a few more 9's, it crashes.
Am I determining the bounding lat correctly from the provided
information? Should I be calling Basemap differently? Any help will be
much appreciated.
Thanks,
Ken Mankoff
---