Re: [Matplotlib-users] Inconsistent marker/line zorder in errorbar legend

2011-12-07 Thread Jae-Joon Lee
I just pushed a change that I believe fixes this problem https://github.com/matplotlib/matplotlib/commit/96caca8dd48d08e3106337ecdeae82fa0236b86b Required change is very minor, so you may apply the patch by yourself. If you need a workaround, let me know. Regards, -JJ On Tue, Dec 6, 2011 at

Re: [Matplotlib-users] problem with annotate

2011-12-07 Thread Jae-Joon Lee
Can you post an standalone example? Maybe you want to set the *annotation_clip* parameter to False? http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.annotate Regards, -JJ On Fri, Dec 2, 2011 at 10:19 PM, Neal Becker ndbeck...@gmail.com wrote: Using

Re: [Matplotlib-users] Inconsistent marker/line zorder in errorbar legend

2011-12-07 Thread Adrian Del Maestro
Thank you very much! I was trying to do something like this in legend_handler.py but this is such a simple fix! Best, Adrian. On Wed, Dec 7, 2011 at 9:11 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote: I just pushed a change that I believe fixes this problem

[Matplotlib-users] Dynamic adjustment of axis position and size in figure

2011-12-07 Thread Jérôme
Hi all. The position of an axes is fixed at creation, regardless of the what goes outside the plot area. If the numbers on the y-axis are big enough (say, 7 digits) and a label is added, the label gets out of the figure. Example :

Re: [Matplotlib-users] Dynamic adjustment of axis position and size in figure

2011-12-07 Thread Jérôme
Hi again. Wed, 7 Dec 2011 20:29:22 +0100 Jérôme a écrit: Is there a way to automatically resize the axis and nicely center the whole set {axes + ticklabels + labels} in the figure ? [...] Or did I miss something ? It seems I missed figure.tight_layout(). Sorry about that... -- Jérôme

[Matplotlib-users] Round pie in non square figure size

2011-12-07 Thread claudius
I would like to draw a round pie in a rectangle figure. At the moment I'm using something like: fig = plt.figure( figsize = figsize, dpi=inch) # plot actually ax = fig.add_subplot( 1, 1, 1 ) ax.pie( value_list, labels = labels_list, **kwargs )

Re: [Matplotlib-users] Round pie in non square figure size

2011-12-07 Thread Tony Yu
On Wed, Dec 7, 2011 at 11:08 AM, claudius clau_...@yahoo.com wrote: I would like to draw a round pie in a rectangle figure. At the moment I'm using something like: fig = plt.figure( figsize = figsize, dpi=inch) # plot actually ax = fig.add_subplot( 1, 1, 1 )

Re: [Matplotlib-users] Dynamic adjustment of axis position and size in figure

2011-12-07 Thread Jérôme
Wed, 7 Dec 2011 20:29:22 +0100 Jérôme a écrit: Is there a way to automatically resize the axis and nicely center the whole set {axes + ticklabels + labels} in the figure ? One could use add_axes and play with the coordinates until he gets something nice, but it gets complicated to have it

Re: [Matplotlib-users] add cirlce around lat lon

2011-12-07 Thread questions anon
thanks for the responses. Sebastians suggestion to use tissot function is exactly what I needed. map.tissot(lon, lat, r, 96) thanks again On Wed, Dec 7, 2011 at 6:36 PM, Thomas Lecocq thlec...@msn.com wrote: Dear, you can try my tutorial to achieve this properly :

[Matplotlib-users] Incorrect latex rendering for \hat{x} and \vec{x}

2011-12-07 Thread Alejandro Weinstein
Hi: I am getting incorrect renderings when using \hat{x} or \vec{x}. The following code # import matplotlib.pylab as plt plt.axes([0.1, 0.15, 0.8, 0.75]) plt.plot(range(10)) plt.xlabel(r'$\hat{y}$ $\vec{x}$ $x^2 + y^2$', fontsize=20)

[Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi all. I want to use Times New Roman font for my pictures. Searching the list I have found this solution: __ pylab.rc('font', family='serif') pylab.rc('font', serif='Times New Roman') pylab.rc('text', usetex='false') .. yl=pylab.ylabel(r'Difference

Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Tony Yu
On Wed, Dec 7, 2011 at 8:27 PM, Piter_ x.pi...@gmail.com wrote: Hi all. I want to use Times New Roman font for my pictures. Searching the list I have found this solution: __ pylab.rc('font', family='serif') pylab.rc('font', serif='Times New Roman') pylab.rc('text',

Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi. Thank for the reply. I use debian stable with matplotlib and python from debian repository, emacs python mode. I had a look on the topic here http://old.nabble.com/how-to-use-different-font-for-serif-td32905458.html I don't have any warning messages. Have no clue there to look further :(

Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi Could you post the version number: my version is '0.99.3' It looks like after deleting fontList.cache file everything works. But I got another question. Why I don't get warnings even if I try font like fadslkhflkjdvhsdlfvfdls. Thanks in advance. Petro