Hi Gökhan,
I recommend you to use matplotlib.widgets.RectangleSelector instead of the
zoom functionality to select the data (An example can be found at
http://matplotlib.sourceforge.net/examples/widgets/rectangle_selector.html ).
This will return you the x and y-coordinate of button press and
Hi,
I was wondering about the eps output produced by imshow().
This program
--
from pylab import *
Z = rand(10,10)
imshow(Z,interpolation='nearest',cmap=cm.bone)
savefig('bone.eps')
imshow(Z,interpolation='nearest',cmap=cm.gray)
savefig('gray.eps')
Does anyone know what this error may result from:
GEOS_ERROR: TopologyException: no outgoing dirEdge found (74.5584,-90,-90)
Segmentation fault
I am getting it for various projections and datasets...
working with mpl_toolkits.basemap
Thanks!
--
View this message in context:
Michael Droettboom wrote:
I am not able to reproduce this leak here with 0.98.6svn from today on
RHEL4. What platform are you on?
(See attached massif profile -- the memory usage is flat...)
Mike
Well, in my setup I see similar behaviour as in the initial question.
Ubuntu 8.10 32bit,
Are you able to run it inside of valgrind's massif tool? Calling out to
ps can be a bit spurious (particularly with a memory-pooling Python
build) especially for a leak this small.
Mike
Andres Luhamaa wrote:
Michael Droettboom wrote:
I am not able to reproduce this leak here with
Hi,
A while ago, I sent an email around asking about the EPS output from
matplotlib. The following example summarizes the problem well:
import matplotlib
matplotlib.use('Agg')
from matplotlib.pyplot import *
import numpy as np
nx,ny = 10,10
image = np.random.random((nx,ny))
fig =
John [H2O] wrote:
Does anyone know what this error may result from:
GEOS_ERROR: TopologyException: no outgoing dirEdge found (74.5584,-90,-90)
Segmentation fault
I am getting it for various projections and datasets...
working with mpl_toolkits.basemap
Thanks!
What versions of python,
Thanks for the pointer Matthias,
That is exactly what I have been looking for.
I use the code from the RectangleSelector class help with your suggested
code. I know that I have to update y-axis accordingly to x values such that
their positions and sizes must much so that I can plot them in a new
Well, I have never used it before but here is the output from valgrind
masstif, can you figure out something from this? The mem usage from
python was still increasing.
Andres
Michael Droettboom wrote:
Are you able to run it inside of valgrind's massif tool? Calling out
to ps can be a bit
On Sat, Apr 18, 2009 at 00:22, Andrew Romero romero...@yahoo.com wrote:
The script plottest.py.txt reads the data file (out.txt) and creates the plot
(myfig.png); however,
I am unable to format the dates ... they always print as floats .. help
are those unix timestamps (from 1970-01-01)?
In
10 matches
Mail list logo