Re: [Matplotlib-users] Sequential Calls to create bar charts jumbles output on second. first always ok.

2010-08-13 Thread Rob Schneider
>> > > Agreed. The only thing I can think of is that the second figure is > reusing the first. You can try calling plt.figure() at the beginning > of the functions to create a new figure, or call plt.figure() in > between the calls to CreateMemberStatCategoryFigure() and > CreateMemberStatFigure(

[Matplotlib-users] Matlab colormap to matplotlib

2010-08-13 Thread Filipe Fernandes
Hello list, I know that this is very simple for most of the people, but since it took some time to figure it out I'm sharing here. It's useful for those that, like me, have dozens of personalized colormaps in matlab r,g,b lists. def cmat2cmpl(r, g, b): """ Convert matlab style colorm

Re: [Matplotlib-users] TeX not working with Matplotlib

2010-08-13 Thread Harry Boer
On 8/13/10 5:04 PM, matplotlib-users-requ...@lists.sourceforge.net wrote: > Send Matplotlib-users mailing list submissions to > matplotlib-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/matplotli

Re: [Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-13 Thread Andrea Tomadin
Dear John, thank you for your suggestion. Unfortunately, I have just tried that and I am positive that it does not work. It works only if the option "frameon" of the figure is True, which is not what I want in this case (I have to produce a pdf with transparent background). Regards, Andrea O

Re: [Matplotlib-users] False empty strings in csv2rec

2010-08-13 Thread John Hunter
On Thu, Aug 12, 2010 at 8:10 PM, Sergi Pons Freixes wrote: > Hi everybody, > > I have a csv file which I would like to read with pylab.csv2rec . The > file has a header row, values speparated by commas, and a lot of > missings as empty entries. So, a line with missings looks like: > col1,col2c

Re: [Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-13 Thread John Hunter
On Fri, Aug 13, 2010 at 1:42 AM, wrote: > Dear All, > > I am trying to embed a matplotlib Figure into a Tkinter Canvas.  The problem > is, when I change the content of the figure (e.g. I delete and create new > axes) the new items are plotted but the old items are not deleted.  The old > items

[Matplotlib-users] False empty strings in csv2rec

2010-08-13 Thread Sergi Pons Freixes
Hi everybody, I have a csv file which I would like to read with pylab.csv2rec . The file has a header row, values speparated by commas, and a lot of missings as empty entries. So, a line with missings looks like: col1,col2col6 . I tried specifyng the parameter with name "missing", so it reads:

[Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-13 Thread gurnemanz
Dear All, I am trying to embed a matplotlib Figure into a Tkinter Canvas. The problem is, when I change the content of the figure (e.g. I delete and create new axes) the new items are plotted but the old items are not deleted. The old items disappear immediately when I resize the window. I h