[Matplotlib-users] changing size of the legend box

2014-10-01 Thread Nemanja Savic
Hi all guys, I am trying for a while to set width of the legend box to constant value, independent of the text inside. So far I tried with following approach: l1.get_frame().set_width(2.0) where l1 is object of legend type. After this line nothing actually happens. I was also not able to find th

Re: [Matplotlib-users] twin axes aspect ration adjust

2014-06-12 Thread Nemanja Savic
to do that? Best On Thu, Jun 12, 2014 at 6:03 PM, Nemanja Savic wrote: > Hi again, > > I think I am very near to discover how the things work, but I need a bit > or ur help. What I basically want is to apply the same aspect ratio to all > Axes objects. I realized that whenevr twinx

Re: [Matplotlib-users] twin axes aspect ration adjust

2014-06-12 Thread Nemanja Savic
aspect ratio of 0.5 to one of the axeses, the others don't follow that? Best On Thu, Jun 12, 2014 at 5:44 AM, Nemanja Savic wrote: > Hi all guys, > > I have already spent a lot of time trying to figure out how to set the > aspect ratio of all axeses in my plot which consists of

Re: [Matplotlib-users] writing subscripts with default matplot font

2014-06-12 Thread Nemanja Savic
It works thanx. On Thu, Jun 12, 2014 at 4:45 PM, Nemanja Savic wrote: > Thanx, I will try. By the way hiw to implement this into set_ylabel > function? is just "text$_..." enough? > > > On Thu, Jun 12, 2014 at 2:40 PM, Mike Kaufman wrote: > >> use m

Re: [Matplotlib-users] writing subscripts with default matplot font

2014-06-12 Thread Nemanja Savic
Thanx, I will try. By the way hiw to implement this into set_ylabel function? is just "text$_..." enough? On Thu, Jun 12, 2014 at 2:40 PM, Mike Kaufman wrote: > use matplotlib's internal latex parsing: > > text(0.2,0.4,"text$_{\mathrm{subscript}}$") > >

[Matplotlib-users] writing subscripts with default matplot font

2014-06-12 Thread Nemanja Savic
Hi all guys, I am not able to find answer on my question: how to write subscripts using default matplotlib font? best, -- Nemanja Savić -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find W

[Matplotlib-users] twin axes aspect ration adjust

2014-06-11 Thread Nemanja Savic
Hi all guys, I have already spent a lot of time trying to figure out how to set the aspect ratio of all axeses in my plot which consists of a single subplot and three y axes. Namely, i tried to set the aspect ratio of the base axes, and i expect after twinx that others will inheritt that. So, what

Re: [Matplotlib-users] wrong numpy version

2014-02-03 Thread Nemanja Savic
The solution is following: uninstall numpy using yum. build numpy from source and install it. Build matplotlib from source! Best On Mon, Feb 3, 2014 at 3:29 PM, Nemanja Savic wrote: > Hi all guys, I am back to the same issue again. At the moment I am not > able to reazlize wher

Re: [Matplotlib-users] wrong numpy version

2014-02-03 Thread Nemanja Savic
Hi all guys, I am back to the same issue again. At the moment I am not able to reazlize where does matplotlib configure script find that my version of numpy is 1.4.1? On Tue, Nov 12, 2013 at 4:20 PM, Nemanja Savic wrote: > I see. But is there any other way to cope with this x server prob

Re: [Matplotlib-users] wrong numpy version

2013-11-12 Thread Nemanja Savic
I see. But is there any other way to cope with this x server problem and multiple figures plotting? On Tue, Nov 12, 2013 at 3:21 PM, Benjamin Root wrote: > > > > On Tue, Nov 12, 2013 at 7:37 AM, Nemanja Savic wrote: > >> Hi all guys, >> >> I am using RHEL6 an

[Matplotlib-users] wrong numpy version

2013-11-12 Thread Nemanja Savic
Hi all guys, I am using RHEL6 and I am ploting figures throughout my project, so I wanted some workaroung blocking show() function call. I have found few solutions that use multiprocessing, so finally i finished with this: pool.map(plot_graph, c) and def plot_graph(*args): plt.figure(args[0