Re: [Matplotlib-users] matplotlit.pyplot.xtick lablel alignment withsubscripts

2012-06-28 Thread Stan West
> From: Andre' Walker-Loud [mailto:walksl...@gmail.com] > Sent: Thursday, June 21, 2012 22:19 > > Hi All, > > Trying to tune alignment of xtick labels. [...] > Try as I might, I can not figure out how to get these to > align how I want (I have tried all the options from > verticalalignment=o

[Matplotlib-users] Tick label text

2012-06-28 Thread Mads Ipsen
I want to make some mods to a few selected tick labels. For example, if I do label = axes.yaxis.get_major_ticks()[2].label label.set_fontsize(size) label.set_rotation('vertical') the font size and the orientation of the tick label is changed. However, if try label.set_text('Foo') th

[Matplotlib-users] Updating a colorbar

2012-06-28 Thread Mads Ipsen
Hi, Suppose you do this: axes = self.figure().get_axes() contour = axes.contourf(x,y,z) colorbar = self.figure().colorbar(contour) Suppose that the contour data changes, can you update the colorbar with the new data? Currently I remove the colorbar and insert a new one - but I have a feelin