Hi everybody, I am running out of memory while doing something like this:
F= figure()
AX= F.add_subplot(111)
MyClass.plot(axes=AX)
F.show()
MyClass.plot(axes=AX) then does something like this:
...
for i in xrange(100):
self.MyOtherClass[i].plot(axes=AX)
...
This call finally plots some data,
t possible any
more as axes are not lists anymore. Don't take my word for it, though.
Thanks for the support.
2012/9/23 Giovanni Plantageneto :
> Hi everybody,
> sorry, I guess the question is trivial, but I confess my matplotlib
> and python ignorance.
>
> I'm running so
Hi everybody,
sorry, I guess the question is trivial, but I confess my matplotlib
and python ignorance.
I'm running some code written by someone else, and apparently some
bits of the code are not compliant with newer versions of matplotlib.
So, how can I rewrite the following, which give AttributE
martedì 22 maggio 2012, 18:33, Kevin Davies:
> Hi Giovanni,
> Do the labels still overlap to the same extent? As far is the Sankey
> code is concerned, the "center" is the center of the rectangle from
> which the paths diverge. That isn't necessarily the center
lunedì 21 maggio 2012, 21:30, Kevin Davies:
> Hi Giovanni,
>
> Thanks for your report. It looks like in this case the "dip" in the
> large, single input caused the input label to be at the center of the
> diagram. You might want to try increasing the trunklength
&g
Hi all! I'm experiencing a strange behaviour with sankey diagram. As
you can see from the attached image, the patch label it's not
positioned in the middle of the patch (as it should), but it's plotted
over the first label... The code is attached also.
Any hints?
Thanks,
Gio
Dear all,
after upgrading to 1.1.0 on my linux machine (from debian-backports), I get
an error (Can't set Attribute) with code looking like this:
from pylab import figure
F=figure()
F.axes=[]
Why is this so? Incidentally, going back to the previous available version
(0.99.3) solves the problem.
C
Is there a way to control the distance between the axis label and the
tick labels with mplot3d.Axes3D? For small figure sizes they overlap and
I haven't found a way to fix that. My last resort was to remove the tick
labels but that sucks for publication-quality plots.
Cheers,
--
Giovanni
1.0? I could not find any mention
of it on the changelog ...
Cheers,
--
Giovanni L. Ciampaglia
PhD Student
University of Lugano, MACS Lab
import matplotlib.pyplot as pp
from matplotlib.collections import LineCollection
from matplotlib.colors import colorConverter
import numpy as np
from numpy.ran
Ah, sorry for the duplicate message!
Cheers,
G
On 15/03/2011 11:30, Giovanni Luca Ciampaglia wrote:
> Hi all,
> I call savefig by passing to it a file-like object but it appears to not
> get the graphics format right:
>
> f = open('not_a_pdf.pdf', 'w')
>
Hi all,
I call savefig by passing to it a file-like object but it appears to not
get the graphics format right:
f = open('not_a_pdf.pdf', 'w')
plot([1,2,3])
savefig(f)
but it produces a PNG image. Can anybody confirm this? I am on
matplotlib 0.99.3
Cheers,
--
Giovan
vefig(f, format='pdf')
>
> Mike
>
> On 03/15/2011 07:11 AM, Giovanni Luca Ciampaglia wrote:
>> Hi all,
>> I call savefig by passing to it a file-like object but it appears to not
>> get the graphics format right:
>>
>> f = open('not_a_pdf.pdf
Hi all,
I call savefig by passing to it a file-like object but it appears to not
get the graphics format right:
f = open('not_a_pdf.pdf', 'w')
plot([1,2,3])
savefig(f)
but it produces a PNG image. Can anybody confirm this? I am on
matplotlib 0.99.
Hi all. I'd like to know if it's possible to obtain a radar plot like
this: http://code.google.com/intl/en/apis/chart/types.html#radar (the
filled one, with cht=rs) with matplotlib. I'm using matplotlib version
0.98.5
Tha
Hi All,
I had problens to use the function quiver with the matplotlib 82-5. Eric advice
me to upgrade the mpl. I have tried to upgrade the matplotlib but i have to
upgrade almost all my libs. The case is that i can not upgrade these
dependences without affect all my configuration wich means tha
Hi ALL,
I am just starting to leave the matlab to work with matplotlib 82-5 in my
ubuntu linux. I have problens to make a vector fild plots using quiver. I have
a netcdf file that i extract a u_velocity and v_velocity variables, after i
mask the array and try to quiver. i get the following erro
16 matches
Mail list logo