Hi,
I'm a bit new to matplotlib and python. I'm running ubuntu 64bit. whenever
I try and do anything with matplotlib I get an error similar to above. it
still works, i.e. when I run the show() command the plot will appear but all
matplotplib commands return an error similar to above. for
Hi!
I'm trying to print my plots in a wxScrolledPanel under Windows XP but it
dosen't work. I only can print / preview the start of the plot on the left
upper site, the rest of page is empty:
http://www.snowflake-sl.info/printing_in_wx.JPG
I used printing according the example of matplotlib
Hi,
On Wed, May 27, 2009 at 13:29, ninjasmith henrylindsaysm...@gmail.com wrote:
I'm a bit new to matplotlib and python. I'm running ubuntu 64bit. whenever
I try and do anything with matplotlib I get an error similar to above. it
still works, i.e. when I run the show() command the plot will
I'm currently trying to improve my app to render more and more data.
I'm wondering if matplotlib keeps an internal copy of the datas once the
plot function has been called?
from what I understand from python (I'm quite new to python), everything
is reference and no implicit copies are done. I'm
Hi all,
I'd like to adapt 'animation_blit_qt4.py' to a pure OO approach,
removing pylab from the code and move to something near to
'embedding_in_qt4.py'.
I tried a bit but failed miserably :(
What I'd like to achieve is use something like in
'embedding_in_qt4.py' but that can be updated using
You can set the rcParam path.simplify to False to turn off this behavior.
However, the goal is that the simplification is not noticable -- if it
is that may be a bug. Are you able to share your data so I can look
into this further?
Cheers,
Mike
Will Grover wrote:
Hello matplotlib users,
Yes, Python is reference counted (with a garbage collector to handle
cycles etc.). So, yes, the matplotlib plot keeps a reference to your
data after you pass it in so it continue to redraw it as the plot is
panned/zoomed/resized etc. You can safely del your local reference, but
the memory
Thanks Mike,
I just wanted to be sure wether matplotlib had a copy or not.
I'll have to work on giving hints to the GC then...
guillaume.
Michael Droettboom wrote:
Yes, Python is reference counted (with a garbage collector to handle
cycles etc.). So, yes, the matplotlib plot keeps a reference
I don't follow... If you need to free the data, you have to ensure that
matplotlib doesn't need it, and the only way to do that is destroy the
figure that references it. It's virtually impossible to create a
dangling reference in Python (from within Python).
Mike
guillaume ranquet wrote:
sorry If my last message was confusing.
I'm exctracting data from an xml file (100megs of xml) which is stored
by my app as an array of dict in which I pick only some keys to plot.
I'm just trying to figure out if the gc is able to free some parts of
the dict (the un-plotted parts) by itself (and
It's not off topic -- and I understand what you're trying to do much
better now.
I assume at some point you convert all of the xml into a Numpy array and
pass that to matplotlib? matplotlib will only keep a reference to the
Numpy array, which should be far more compact, and you can safely
Hi all,
I am using the following rc params for the text font size
plt.rc('font', size=10.0)
plt.rc('xtick', labelsize='small')
plt.rc('ytick', labelsize='small')
plt.rc('legend', fontsize='medium', numpoints=1)
plt.rc('mathtext', fontset='custom', it='serif:regular')
But font
Hi,
I am using matplotlib for some data vizualization. To ensure a
consistent user interface among the whole application, I do the
scrolling/zooming stuff myself. So, for a diagram, a horizontal
scrollbar is displayed below the diagram that enabled to shift along the
x axis. This is (part of) the
guillaume ranquet wrote:
this is how I convert the xml into plottable arrays:
def getnamefrom(name,src,what):
extracts timestamps and 'what' from 'src' for 'name'
buffwhat = []
bufftime = []
sortedbyname = []
[sortedbyname.append(element) for
element in src if
Stefanie Lück wrote:
I'm trying to print my plots in a wxScrolledPanel under Windows XP but
it dosen't work. I only can print / preview the start of the plot on the
left upper site, the rest of page is empty:
I wonder if that has to do with how you are using the scolledpanel, and
DCs. Post
I'm running into a really bizarre error that seems to have started
spontaneously (no changes I can think of were made to my system in the
last few days and mpl was plotting without problems up until a few
hours ago). When using WxAgg, the following code raises a malloc error.
import
Michael Droettboom wrote:
You can set the rcParam path.simplify to False to turn off this behavior.
Mike,
The matplotlibrc.template indicates that this is effective only for
vector backends; is the template comment incorrect?
Eric
#path.simplify : False # When True, simplify paths in vector
Good find. The comment is out of date. It is now followed in all
backends. I will update the template.
Mike
Eric Firing wrote:
Michael Droettboom wrote:
You can set the rcParam path.simplify to False to turn off this
behavior.
Mike,
The matplotlibrc.template indicates that this is
Correction, this error occurs on all GUI backends I've tried (I don't
have gtk installed). The malloc error didn't occur on the other
backends until I tried to interact with the plot window.
-T
On May 27, 2009, at 12:36 PM, Tony S Yu wrote:
I'm running into a really bizarre error that
On Wed, May 27, 2009 at 9:11 AM, Sandro Tosi mo...@debian.org wrote:
Hi all,
I'd like to adapt 'animation_blit_qt4.py' to a pure OO approach,
removing pylab from the code and move to something near to
'embedding_in_qt4.py'.
I tried a bit but failed miserably :(
What I'd like to achieve is
Hello Mike,
Thanks for the quick reply - I'll try path.simplify as you suggest.
My actual data is pretty big and unruly, but I wrote a bit of code
that demonstrates the point dropping. This code plots three
single-point-wide peaks on a baseline of noise that is 'length' points
long. For smaller
Hi Darren,
thanks for replying
On Wed, May 27, 2009 at 21:01, Darren Dale dsdal...@gmail.com wrote:
On Wed, May 27, 2009 at 9:11 AM, Sandro Tosi mo...@debian.org wrote:
Hi all,
I'd like to adapt 'animation_blit_qt4.py' to a pure OO approach,
removing pylab from the code and move to something
Hi dear users,
Recently I found pcolor took tremendously longer to draw a figure
than contour or imshow. I am wondering if anyone had the same
experience, or anyone knows why? Thank you very much!
Jinbo
--
Register
23 matches
Mail list logo