Re: [Matplotlib-users] matplotlib WX and Qt4Agg backends

2009-11-13 Thread Darren Dale
On Thu, Nov 12, 2009 at 12:13 PM, Taro Sato wrote: > > > TheLonelyStar wrote: >> >> >> /net/gorgonzola/storage/nhuesken/svn/ActiveLearning/SVM/ModelSelection/Ergebnisse/plot.pyc >> in plot(filename, line_list, name_list, reference) >>       6         for i in xrange(len(line_list)): >>       7 >>

[Matplotlib-users] matplotlib WX and Qt4Agg backends

2009-11-13 Thread TheLonelyStar
Hi, I have installed matplotlib with the "WX" and the "Qt4Agg" backend. Both have problems: with WX backend, I can plot something. But when I close the window and try to plot again, nothing happens (no window opens). with Qt4Agg I can plot something. But when I close the window and try to plot

Re: [Matplotlib-users] Docked/tabbed figures in one window?

2009-11-13 Thread Christopher Barker
qu...@gmx.at wrote: > I would like to be able to dock some figures into one window > and be able to look at them by tabs or something similar. > > Is something like that already implemented or does someone know > of a widget that can do that? This should be support on with any of the GUI toolkits

Re: [Matplotlib-users] adjusting space between axes label and axes

2009-11-13 Thread Jae-Joon Lee
I think I have said this a few times, but if you're using axes_grid toolkit, it is likely that most of the ticks, ticklabels and axis-related command of the original matplotlib may NOT work. And that is why I recommend you to use the spines instead. Anyhow, adjusting the pad between axis and the

Re: [Matplotlib-users] metadata

2009-11-13 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > Marius Jan Klein writes: > >> I want to edit the metadata of pdf- or png-files when creating one of >> these files. I do not want to use for example Pypdf because then >> Python must read the file first before it can be edited. > > Concerning pdf files, there is no cu

Re: [Matplotlib-users] adjusting space between axes label and axes

2009-11-13 Thread Gökhan Sever
On Fri, Nov 13, 2009 at 1:02 PM, per freem wrote: > thanks for the suggestion, though this does not work for me in the > following example: > > import matplotlib > matplotlib.use('PDF') > import matplotlib.pyplot as plt > from matplotlib import rc > rc('font',**{'family':'sans-serif','sans-serif'

Re: [Matplotlib-users] adjusting space between axes label and axes

2009-11-13 Thread per freem
thanks for the suggestion, though this does not work for me in the following example: import matplotlib matplotlib.use('PDF') import matplotlib.pyplot as plt from matplotlib import rc rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) plt.rcParams['ps.useafm'] = True rc('font',**{'fam

Re: [Matplotlib-users] adjusting space between axes label and axes

2009-11-13 Thread Gökhan Sever
On Fri, Nov 13, 2009 at 12:36 PM, per freem wrote: > hi all, > > how can the space between the label (e.g. thing created by > plt.xlabel('mylabel')) and the axes be adjusted? i am not talking > about the space between the ticklabels of the axes and the axes > themselves (which is set by 'xtick.ma

[Matplotlib-users] adjusting space between axes label and axes

2009-11-13 Thread per freem
hi all, how can the space between the label (e.g. thing created by plt.xlabel('mylabel')) and the axes be adjusted? i am not talking about the space between the ticklabels of the axes and the axes themselves (which is set by 'xtick.major.pad' or 'ytick.major.pad') but between the overall axes labe

[Matplotlib-users] changing the xtick/ytick pads for subplots?

2009-11-13 Thread per freem
hi all, i am trying to adjust the space (padding) between the tickmarks on an axes and the labels. usually, i can do this by setting 'xtick.major.pad' and 'xtick.minor.pad' (and same for y-axis) in rcParams. however, when i try to do this with a figure made using the "SubplotZero" function, it see

Re: [Matplotlib-users] metadata

2009-11-13 Thread Jouni K . Seppänen
Marius Jan Klein writes: > I want to edit the metadata of pdf- or png-files when creating one of > these files. I do not want to use for example Pypdf because then > Python must read the file first before it can be edited. Concerning pdf files, there is no current support for that, but at least

[Matplotlib-users] metadata

2009-11-13 Thread Marius Jan Klein
Hi everyone, I want to edit the metadata of pdf- or png-files when creating one of these files. I do not want to use for example Pypdf because then Python must read the file first before it can be edited. Does anyone know how to deal with that? -

Re: [Matplotlib-users] Changes in mouse event

2009-11-13 Thread Fabrice Silva
r7591 introduced an extra argument in the call of fig.canvas.stop_event_loop in the mouse_event_stop method of the BlockingMouseInput class (in blocking_input.py line 199). But, in the GTK backend, fig.canvas.stop_event_loop only takes the instance object as input. I can't figure out whether the c

Re: [Matplotlib-users] matplotlib with Qt4 backend

2009-11-13 Thread Celil Rufat
Thanks! I can confirm the patches fixes the issue on my computer. Celil On Thu, Nov 12, 2009 at 9:33 AM, Jouni K. Seppänen wrote: > Celil Rufat writes: > > > However, when I try one of the Qt4 examles: > [...] > > File > > > "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/p