Re: [Matplotlib-users] x-axis Tick Label Alignment w/Cairo

2012-08-20 Thread Michael Droettboom
Thanks for this. It's been a long-standing bug that text is handled by bounding box, but it's been difficult to find a way forward without breaking backward compatibility. I've filed an issue for this here. https://github.com/matplotlib/matplotlib/issues/1121 It may be, in the long run, that

Re: [Matplotlib-users] x-axis Tick Label Alignment w/Cairo

2012-08-20 Thread Freddie Witherden
On 19/08/12 23:48, Freddie Witherden wrote: > Hello, > > Using the Cairo backend with the following snippet: > > from matplotlib.figure import Figure > from matplotlib.artist import setp > from matplotlib.backends.backend_agg import FigureCanvasAgg > from matplotlib.backends.backend_cairo import

[Matplotlib-users] x-axis Tick Label Alignment w/Cairo

2012-08-19 Thread Freddie Witherden
Hello, Using the Cairo backend with the following snippet: from matplotlib.figure import Figure from matplotlib.artist import setp from matplotlib.backends.backend_agg import FigureCanvasAgg from matplotlib.backends.backend_cairo import FigureCanvasCairo import numpy as np fig = Figure() ax1 = f