[matplotlib-devel] xticklabels

2008-09-03 Thread Manuel Metz
Hi, I think there is bug in get_xticklabels(). According to the doc it should return a list of Text instances, instead it returns a list of TextWithDash instances. This also makes the following impossible (which should work of course): xtl = ax.get_xticklabels() ax.set_xticklabels(xtl) Manu

Re: [matplotlib-devel] irregularly spaced grids and imshowm: PATCH for bilinear interp

2008-09-03 Thread Grégory Lielens
> Greg, > > Thank you for your very clear and complete explanation. > > I have committed your patch with only a few modifications: > > 0) I fixed a bug with non-agg backends by setting im.is_grayscale. > > 1) I changed the handling of the interpolation kwarg. The default is > still 'nearest'

Re: [matplotlib-devel] problems with labeling contour lines in 0.98.3

2008-09-03 Thread David M. Kaplan
Hi, Back from vacation. The problem with not being able to end point selection is easy to fix - allow keyboard clicks to also select points and enter to also exit (this is the solution matlab uses). This is easy to add and I will try to work on it sometime over the next couple of weeks. I will

[matplotlib-devel] setting the font name directly

2008-09-03 Thread Jae-Joon Lee
Hello, When I need to use unicode string in matplotlib, I often set the font name directly as below. import matplotlib.font_manager as fm fp1=fm.FontProperties(fname="/users/research/lee/.fonts/malgun.ttf") This used to work. But not anymore. And I guess this is related with a recent change in

Re: [matplotlib-devel] setting the font name directly

2008-09-03 Thread Michael Droettboom
Yes. The FontProperties objects have a list of options that they try in order. (The fname parameter is sort of an implementation detail rather than a public API.) Cheers, Mike Jae-Joon Lee wrote: > Hello, > > When I need to use unicode string in matplotlib, I often set the font > name directl