Re: [Matplotlib-users] Bar chart + line chart?

2011-02-25 Thread Jeff Layton
On 02/23/2011 09:50 AM, Benjamin Root wrote: On Wed, Feb 23, 2011 at 8:34 AM, Jeff Layton layto...@att.net mailto:layto...@att.net wrote: Good morning, I'm looking for examples of creating a bar chart and then adding a line chart on top of it (with the same y-axis). I haven't

[Matplotlib-users] savefig bbox_inches='tight' does not consider suptitle

2011-02-25 Thread Yuri D'Elia
In the following: import matplotlib as mpl import matplotlib.figure import matplotlib.backends.backend_agg fig = mpl.figure.Figure() cvs = mpl.backends.backend_agg.FigureCanvasAgg(fig) fig.set_size_inches((20,20)) fig.suptitle(Horray!, fontsize=20) plot = fig.add_subplot(111)

[Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Philipp A.
hi, Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. this bughttp://sourceforge.net/tracker/index.php?func=detailaid=2874110group_id=80706atid=560720is about the issue. to get a crude replacement, i have to do the following: for x, s in enumerate(ticks): ax.text3D(x, -.1,

Re: [Matplotlib-users] faq: reducing figure.figsize cuts off labels and tick marks

2011-02-25 Thread Darren Dale
On Fri, Feb 25, 2011 at 6:03 AM, Daniel Mader danielstefanma...@googlemail.com wrote: Hi Goyo and Darren, thanks for pointing out the rcParams solution! For the time being, this seems an OK approach. I'd like to use the automatic solution, though There isn't one.

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Benjamin Root
On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. flying-sh...@web.de wrote: hi, Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. this bughttp://sourceforge.net/tracker/index.php?func=detailaid=2874110group_id=80706atid=560720is about the issue. to get a crude replacement, i

Re: [Matplotlib-users] faq: reducing figure.figsize cuts off labels and tick marks

2011-02-25 Thread Daniel Mader
There is the one in the code, as suggested on the FAQ site :) thanks for pointing out the rcParams solution! For the time being, this seems an OK approach. I'd like to use the automatic solution, though There isn't one.

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Philipp A.
2011/2/25 Benjamin Root ben.r...@ou.edu On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. flying-sh...@web.de wrote: hi, Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. this bughttp://sourceforge.net/tracker/index.php?func=detailaid=2874110group_id=80706atid=560720is

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Philipp A.
2011/2/25 Philipp A. flying-sh...@web.de 2011/2/25 Benjamin Root ben.r...@ou.edu On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. flying-sh...@web.de wrote: hi, Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. this

[Matplotlib-users] Control twinx series zorder: ax2 series behind ax1 series, or place ax2 on left, ax1 on right

2011-02-25 Thread Jeff Kowalczyk
I am trying to plot multiple series on one axes and a bar chart on a shared x, new y axes. I'm using twinx. The following test code works, but I need to render the bar plot *behind* the line plots. Can I somehow control zorder globally within a figure? Alternatively, I could make the bar chart

Re: [Matplotlib-users] Control twinx series zorder: ax2 series behind ax1 series, or place ax2 on left, ax1 on right

2011-02-25 Thread Paul Ivanov
Jeff Kowalczyk, on 2011-02-25 23:20, wrote: I am trying to plot multiple series on one axes and a bar chart on a shared x, new y axes. I'm using twinx. The following test code works, but I need to render the bar plot *behind* the line plots. Can I somehow control zorder globally within a

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Benjamin Root
On Fri, Feb 25, 2011 at 5:34 PM, Philipp A. flying-sh...@web.de wrote: 2011/2/25 Philipp A. flying-sh...@web.de 2011/2/25 Benjamin Root ben.r...@ou.edu On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. flying-sh...@web.de wrote: hi, Axes3D from mpl_toolkits.mplot3d does not override