I have built matplotlib from svn on OSX 10.6, using the make.osx script that is
included with the source, except with the 32-bit build flags removed. The
resulting module fails on import, however, with the following:
In [1]: from pylab import *
---
Hi all,
I have recently upgraded matplotlib to 0.99 on debian (Lenny) using the
default options with synaptic.
After this upgrade, importing pylab results in a seg. fault
Using "python -v" yields the following messages.
What should i do to improve this ?
Thanks in advance.
J-P J.
=
Hello,
switching to 64-bit Python and OS might help. I can display 8bit images
up to 8459x8459 with imshow on Windows 7 64-bit with 8GB RAM. Python
then uses about 5.5 GB RAM according to task manager. A 8460x8460 or
larger 8bit images crash Python (definitely a bug). The 32-bit
interpreter st
Thank you.
O.k. a little bit more:
I just installed 0.99.1.1.
Without path.simplify to False the problem is still there. So the "bug" might
be still there.
Thanks a lot again.
Stefan
P.S.: just in case someone wants to confirm an example:
from scipy.special import sph_jn,sph_yn
import n
On Dec 15, 2009, at 12:30 PM, Wellenreuther, Gerd wrote:
> Hi Perry,
>
> to clarify what I am doing - maybe the error lies in here:
>
> * First I am building up a list of the corrected+rotated images
>
> * After that is done I am creating the figure
>
> * Then looping over every image, creating p
On Dec 15, 2009, at 1:09 PM, Gerd Wellenreuther wrote:
>
>
> Perry Greenfield schrieb:
>> if the above code is in a loop, and there is no figure clearing in
>> the loop, then
>>
>> rotated_images[i] = []
>> gc.collect(2)
>>
>> will have no effect since matplotlib will still have references to
I have two quick questions about colorbars in matplotlib. The first is
related to the size of the colorbar. I would like to have square axes for a
plot, so I use:
ax=fig.add_subplot(1,2,1)
pc=ax.pcolor(X,Z,P2)
ax.set_aspect(1./ax.get_data_ratio())
cb=pylab.colorbar(pc,orientation='vertical')
How
Perry Greenfield schrieb:
> if the above code is in a loop, and there is no figure clearing in the
> loop, then
>
> rotated_images[i] = []
> gc.collect(2)
>
> will have no effect since matplotlib will still have references to the
> array (and generally, you never need to call gc.collect by the
jenya56 wrote:
> I get this error:
> "Matplotlib backend_wx and backened_wxagg require wxPython>=2.8"
> I have Python 26 and the most current versions of Matplotlib, basemap, and
> numpy.
> Anybody? Thanks
> PS On educational note: what do you really need backend for? thanks
>
Do you have wxpyt
Hi Perry,
to clarify what I am doing - maybe the error lies in here:
* First I am building up a list of the corrected+rotated images
* After that is done I am creating the figure
* Then looping over every image, creating proper axes for each
individual image and finally:
> pylab.imsho
I get this error:
"Matplotlib backend_wx and backened_wxagg require wxPython>=2.8"
I have Python 26 and the most current versions of Matplotlib, basemap, and
numpy.
Anybody? Thanks
PS On educational note: what do you really need backend for? thanks
--
View this message in context:
http://old.na
stefan writes:
> I want to plot a line with very sharp features and many data points.
> [...] Is the '-' style doing some averaging before plotting or is it a
> rendering problem?
What version of matplotlib do you have? There have been some path
simplification bugs fixed recently. Try setting pa
Dear all,
I am trying to write a script to be used with our microscope, stitching
images of various magnifications together to yield a big picture of a
sample. The preprocessing involves operations like rotating the picture
etc., and finally those pictures are being plotted using imshow.
Unfor
Hello list,
I run into trouble with the formelly working
example ''ginput_manual_clabel.py'' or the following minimal example (in
ipython -pylab)
CS = plt.contour(reshape(arange(20)%3, (4, 5)), [0, 1, 2])
CL = plt.clabel( CS, manual=True )
First of all I get a DeprecationWarning during the sta
Which version of matplotlib are you using? This is (I suspect) the
result of a known bug in matplotlib that has been fixed since the latest
release. In plots with large numbers of points, invisible points are
automatically removed to increase performance and reduce file sizes, but
this behavi
Hi to all,
I'm doing a simple animation like this:
--
ion()
x = arange(0,2,0.01)
y = zeros_like(x)
y[45:55]=1
l, = plot(x,y)
D = 0.1
h = x[1]-x[0]
dt = 0.0001;
def nabla(v,h):
na = zeros_like(v)
na[1:-1] = (v[2:]-2*v[1:-1]+v[:-2])
na[0],na[-1] = 0,0
return na/(h**2)
for i in ra
Hi,
I want to plot a line with very sharp features and many data points. If I plot
the data with markers, the features can be seen perfectly. But if I choose the
line style just to be '-' (which is also default), the peaks are not shown
anymore. If I use something like '-o', the peaks are there
17 matches
Mail list logo