Revision: 7952 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7952&view=rev Author: mdboom Date: 2009-11-12 17:27:34 +0000 (Thu, 12 Nov 2009)
Log Message: ----------- [2853659] Patch to fix EMF backend Modified Paths: -------------- branches/v0_99_maint/lib/matplotlib/backends/backend_emf.py Modified: branches/v0_99_maint/lib/matplotlib/backends/backend_emf.py =================================================================== --- branches/v0_99_maint/lib/matplotlib/backends/backend_emf.py 2009-11-11 23:59:23 UTC (rev 7951) +++ branches/v0_99_maint/lib/matplotlib/backends/backend_emf.py 2009-11-12 17:27:34 UTC (rev 7952) @@ -42,17 +42,20 @@ other.get_weight(), other.get_stretch(), other.get_size()) - self.__angle=angle + self._angle=angle def __hash__(self): - return hash( (FontProperties.__hash__(self), self.__angle)) + return hash( (FontProperties.__hash__(self), self._angle)) def __str__(self): - return str( (FontProperties.__str__(self), self.__angle)) + return str( (FontProperties.__str__(self), self._angle)) def set_angle(self,angle): - self.__angle=angle + self._angle=angle + def get_angle(self): + return self._angle + # Hashable pen (line style) properties. class EMFPen: def __init__(self,emf,gc): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins