Thanks. I can reproduce the bug and the patch looks good. The patch is applied to the maint. branch and the svn head.
Regards, -JJ On Thu, Oct 15, 2009 at 4:30 PM, Stan West <stan.w...@nrl.navy.mil> wrote: > Developers: > > I happened upon a small bug in which changing the rotation mode of text does > not take effect until another property is changed: > > t = plt.text(0.5, 0.5, 'Lorem ipsum', rotation=-45) > # rotation_mode defaults to None > t.set_rotation_mode('anchor') > plt.draw() # the new rotation mode doesn't take effect > t.set_rotation(-44) > plt.draw() # now the angle and rotation mode are updated > > This seems to be corrected by adding _rotation_mode to the properties > handled by get_prop_tup; I've attached a patch for your review. > > ------------------------------------------------------------------------------ > 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-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > ------------------------------------------------------------------------------ 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-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel