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 cas
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
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 i
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
set_axes_lim
On Fri, Apr 9, 2010 at 12:16 AM, Peter Butterworth 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
variable, since i
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.