Re: [Matplotlib-users] Width of axes tick labels

2009-10-07 Thread Jae-Joon Lee
Text instances have "get_window_extent" method. However, it requires a renderer instance (because the size of the text depends on the backend), i.e., the size of the text is only known during the drawing time. The easiest ways is to call get_window_extent without any argument, but after figure is

[Matplotlib-users] Width of axes tick labels

2009-10-06 Thread Donovan Parks
Hello, I'm new to matplotlib, but have made great progress in using it over the past few days (thanks in no small part to this list). However, I am stuck on trying to determine the width of a y tick label (either in inches or figure space). I know I can get 'Text instances' of the tick labels usin