Hi, I found strange behavior in matplotlib.text.Text. set_backgroundcolor(self, color) allows to init text background and edge colors but we can only alter backgroundcolor.
# line 728 def set_backgroundcolor(self, color): """ Set the background color of the text by updating the bbox. .. seealso:: :meth:`set_bbox` To change the position of the bounding box. ACCEPTS: any matplotlib color """ if self._bbox is None: self._bbox = dict(facecolor=color, edgecolor=color) else: self._bbox.update(dict(facecolor=color)) I think the last line might be like : self._bbox.update(dict(facecolor=color, edgecolor=color)) I notice it because I use a dark background for axis and texts but I replace it by a white one when I print figure. With current code, it remains a dark border arround my texts. Regards, Yann ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users