From: <md...@us...> - 2007-10-23 14:24:50
|
Revision: 3982 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3982&view=rev Author: mdboom Date: 2007-10-23 07:24:49 -0700 (Tue, 23 Oct 2007) Log Message: ----------- Marker objects should be keyed off of whether or not they are filled and their line width (since the line width affects the bounding box). Modified Paths: -------------- branches/transforms/lib/matplotlib/backends/backend_pdf.py Modified: branches/transforms/lib/matplotlib/backends/backend_pdf.py =================================================================== --- branches/transforms/lib/matplotlib/backends/backend_pdf.py 2007-10-23 14:23:19 UTC (rev 3981) +++ branches/transforms/lib/matplotlib/backends/backend_pdf.py 2007-10-23 14:24:49 UTC (rev 3982) @@ -1024,7 +1024,7 @@ def markerObject(self, path, trans, fillp, lw): """Return name of a marker XObject representing the given path.""" - key = (path, trans) + key = (path, trans, fillp is not None, lw) result = self.markers.get(key) if result is None: name = Name('M%d' % len(self.markers)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |