Re: [Matplotlib-users] 2 lines, 2 diff colors, when converged, gets 3rd color...

2010-04-09 Thread KrishnaPribadi
Here my screen shot. Notice the red and green line merging then turning brown... -- View this message in context: http://old.nabble.com/2-lines%2C-2-diff-colors%2C-when-converged%2C-gets-3rd-color...-tp28182679p28190837.html Sent from the matplotlib - users mailing list archive at Nabble.com.

Re: [Matplotlib-users] [matplotlib-devel] getting legend loc

2010-04-09 Thread Ryan May
On Fri, Apr 9, 2010 at 12:16 AM, Peter Butterworth butt...@gmail.com wrote: Hi, I'm having trouble getting some properties that are easily set : leg=legend(loc=0) is there a way to retrieve the legend location ? leg._loc I'm not sure why it's given a leading '_' to signal a private

[Matplotlib-users] is this a bug?

2010-04-09 Thread Mathew Yeates
Can anyone verify this? If so, I'll submit it to the tracker. The following works without the --pylab switch but not with it. The error I get is some how related to a call to get the active figure which returns None. C:\Python26\lib\site-packages\mpl_toolkits\basemap\__init__.pyc in

Re: [Matplotlib-users] can't interact with embedded gtk

2010-04-09 Thread Friedrich Romstedt
I think the Figure you create may be not registered in the pylab framework, and indeed I think this is not a bug. The --pylab switch tries to obtain the active figure, but because there is no active pyplot-Figure, it gets None from get_active() in your traceback. Then it fails. I think --pylab

[Matplotlib-users] text annotations encircled?

2010-04-09 Thread Nico Schlömer
Hi all, is there any way to encircle a text annotation? Looking at http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.annotate suggests tinkering with bbox I guess, but I haven't had any success with it. Hints? Cheers, Nico

Re: [Matplotlib-users] Bold Latex Tick-Labels

2010-04-09 Thread konstellationen
For future reference, the solution proposed by Gökhan and Diakronik is to replace the Latex tick-labels with strings: import matplotlib.pyplt as plt tick_locs = range(start, stop, increment) plt.xticks(tick_locs, [r$\mathbf{%s}$ % x for x in tick_locs]) If you have twin x or y axes (my case),