Re: [Matplotlib-users] Setting the tick label font size

2013-10-30 Thread Daniele Nicolodi
On 29/10/2013 21:39, Ryan Nelson wrote: > Daniele, > > I agree this is perhaps a little overly complicated. (However, once you > figure it out, it does give you a ton of flexibility.) The main point is not that it is overly complicated, it is that is is severely under documented... > I played ar

Re: [Matplotlib-users] Setting the tick label font size

2013-10-29 Thread Ryan Nelson
Daniele, I agree this is perhaps a little overly complicated. (However, once you figure it out, it does give you a ton of flexibility.) I played around with this a bit (thanks IPython!), and I may have figured out what you wanted to do. I rewrote the example you linked from the MPL website. I cou

Re: [Matplotlib-users] Setting the tick label font size

2013-10-29 Thread Daniele Nicolodi
On 29/10/2013 03:11, Ryan Nelson wrote: > Daniele, > > I noticed the same problem with the Qt backend. However, I was looking > at the documentation on the AxesGrid webpage here: > http://matplotlib.org/mpl_toolkits/axes_grid/users/overview.html > And I see the following warning: > > axes_grid an

Re: [Matplotlib-users] Setting the tick label font size

2013-10-28 Thread Ryan Nelson
Daniele, I noticed the same problem with the Qt backend. However, I was looking at the documentation on the AxesGrid webpage here: http://matplotlib.org/mpl_toolkits/axes_grid/users/overview.html And I see the following warning: axes_grid and axisartist (but not axes_grid1) uses a custom Axes cla

Re: [Matplotlib-users] Setting the tick label font size

2013-10-28 Thread Daniele Nicolodi
On 29/10/2013 00:17, Sterling Smith wrote: > While your example tries to be self contained, which is great!, there is no > difference between these two conditions... > >> if BUG: >>ax1 = host_subplot(111, axes_class=Axes) >> else: >>ax1 = host_subplot(111, axes_class=Axes) Ops, obvious

Re: [Matplotlib-users] Setting the tick label font size

2013-10-28 Thread Daniele Nicolodi
On 28/10/2013 23:30, Oliver wrote: > Hi Daniele, > > not sure, but it seems to work for me. Did you do a plt.draw() or > plt.show() to reflect the changes? Hello, it investigated this a bit further and the problem presents itself only when I use `mpl_toolkits.axisartist.Axes`. Here is a minimum

Re: [Matplotlib-users] Setting the tick label font size

2013-10-28 Thread Oliver
Hi Daniele, not sure, but it seems to work for me. Did you do a plt.draw() or plt.show() to reflect the changes? Kind regards, Oliver 2013/10/28 Daniele Nicolodi > Hello, > > I'm trying to change the font size for the tick labels. I've tried both > setting it explicitly when creating the lab

[Matplotlib-users] Setting the tick label font size

2013-10-28 Thread Daniele Nicolodi
Hello, I'm trying to change the font size for the tick labels. I've tried both setting it explicitly when creating the labels: ax2.set_xticklabel(['%d' % x for x in arange(10)], fontsize=10) or after: for label in ax2.get_xticklabels(): label.set_fontsize(8) but the rendering is unaf