Revision: 4443
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4443&view=rev
Author:   mdboom
Date:     2007-11-26 07:43:26 -0800 (Mon, 26 Nov 2007)

Log Message:
-----------
One more SVG color detail (in mathtext)

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/backends/backend_svg.py

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_svg.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_svg.py     2007-11-26 
15:42:10 UTC (rev 4442)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_svg.py     2007-11-26 
15:43:26 UTC (rev 4443)
@@ -409,7 +409,7 @@
             svg.append('</text>\n')
 
         if len(svg_rects):
-            style = "fill: black; stroke: none"
+            style = "fill: %s; stroke: none" % color
             svg.append('<g style="%s" transform="' % style)
             if angle != 0:
                 svg.append('translate(%s,%s) rotate(%1.1f)'


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to