From: John H. <jdh...@ac...> - 2006-09-17 17:40:17
|
>>>>> "Zack" == Zack <za...@gm...> writes: Zack> Hi, Thanks for your help. Zack> On Sunday 17 September 2006 16:54, John Hunter wrote: >> From code, you can also control the pad with, for example, for >> tick in ax.xaxis.get_major_ticks(): tick.set_pad(6) Zack> And how do I do same thing with labels? They are instances Zack> of Text object not ticks. The tick labels are part of the Tick, so this setting will affect them. The Axis labels are automatically placed to be below (or to the left of) the tick labels. So it may be enough to simply set the pad. JDH |