From: <jd...@us...> - 2009-07-12 03:20:56
|
Revision: 7258 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7258&view=rev Author: jdh2358 Date: 2009-07-12 03:20:53 +0000 (Sun, 12 Jul 2009) Log Message: ----------- use png icon on gtk for win32 Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py trunk/matplotlib/lib/matplotlib/lines.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2009-07-11 20:18:06 UTC (rev 7257) +++ trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2009-07-12 03:20:53 UTC (rev 7258) @@ -1148,7 +1148,7 @@ # versions of pygtk, so we have to use a PNG file instead. try: - if gtk.pygtk_version < (2, 8, 0): + if gtk.pygtk_version < (2, 8, 0) or sys.platform == 'win32': icon_filename = 'matplotlib.png' else: icon_filename = 'matplotlib.svg' Modified: trunk/matplotlib/lib/matplotlib/lines.py =================================================================== --- trunk/matplotlib/lib/matplotlib/lines.py 2009-07-11 20:18:06 UTC (rev 7257) +++ trunk/matplotlib/lib/matplotlib/lines.py 2009-07-12 03:20:53 UTC (rev 7258) @@ -335,10 +335,10 @@ def set_fillstyle(self, fs): """ - Set the marker fill style; full means fill the whole marker. - The other options are for half fills + Set the marker fill style; 'full' means fill the whole marker. + The other options are for half filled markers - ACCEPTS: string ['full' | 'left' | 'right' | 'bottom' | 'top'] + ACCEPTS: ['full' | 'left' | 'right' | 'bottom' | 'top'] """ assert fs in ['full', 'left' , 'right' , 'bottom' , 'top'] self._fillstyle = fs This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |