Revision: 6871
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6871&view=rev
Author:   mdboom
Date:     2009-02-03 19:52:02 +0000 (Tue, 03 Feb 2009)

Log Message:
-----------
Change default joinstyle to round

Modified Paths:
--------------
    trunk/matplotlib/CHANGELOG
    trunk/matplotlib/lib/matplotlib/backend_bases.py
    trunk/matplotlib/lib/matplotlib/config/mplconfig.py
    trunk/matplotlib/lib/matplotlib/config/rcsetup.py
    trunk/matplotlib/lib/matplotlib/rcsetup.py

Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG  2009-02-03 17:25:49 UTC (rev 6870)
+++ trunk/matplotlib/CHANGELOG  2009-02-03 19:52:02 UTC (rev 6871)
@@ -1,3 +1,5 @@
+2009-02-03 Change default joinstyle to round - MGD
+
 2009-02-02 Reduce number of marker XObjects in pdf output - JKS
 
 2009-02-02 Change default resolution on polar plot to 1 - MGD

Modified: trunk/matplotlib/lib/matplotlib/backend_bases.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backend_bases.py    2009-02-03 17:25:49 UTC 
(rev 6870)
+++ trunk/matplotlib/lib/matplotlib/backend_bases.py    2009-02-03 19:52:02 UTC 
(rev 6871)
@@ -434,7 +434,7 @@
         self._cliprect = None
         self._clippath = None
         self._dashes = None, None
-        self._joinstyle = 'miter'
+        self._joinstyle = 'round'
         self._linestyle = 'solid'
         self._linewidth = 1
         self._rgb = (0.0, 0.0, 0.0)

Modified: trunk/matplotlib/lib/matplotlib/config/mplconfig.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/config/mplconfig.py 2009-02-03 17:25:49 UTC 
(rev 6870)
+++ trunk/matplotlib/lib/matplotlib/config/mplconfig.py 2009-02-03 19:52:02 UTC 
(rev 6871)
@@ -105,9 +105,9 @@
         linewidth = T.Float(1.0)
         linestyle = T.Trait('-','--','-.', ':', 'steps', '', ' ', None)
         color = T.Trait('blue',mplT.ColorHandler())
-        solid_joinstyle = T.Trait('miter', 'miter', 'round', 'bevel')
+        solid_joinstyle = T.Trait('round', 'miter', 'round', 'bevel')
         solid_capstyle = T.Trait('butt', 'butt', 'round', 'projecting')
-        dash_joinstyle = T.Trait('miter', 'miter', 'round', 'bevel')
+        dash_joinstyle = T.Trait('round', 'miter', 'round', 'bevel')
         dash_capstyle = T.Trait('butt', 'butt', 'round', 'projecting')
         marker = T.Trait('None', 'None', 'o', '.', ',', '^', 'v', '<', '>', 
's',
                          '+', 'x', 'D','d', '1', '2', '3', '4', 'h', 'H', 'p',

Modified: trunk/matplotlib/lib/matplotlib/config/rcsetup.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/config/rcsetup.py   2009-02-03 17:25:49 UTC 
(rev 6870)
+++ trunk/matplotlib/lib/matplotlib/config/rcsetup.py   2009-02-03 19:52:02 UTC 
(rev 6871)
@@ -317,8 +317,8 @@
     'lines.markeredgewidth' : [0.5, validate_float],
     'lines.markersize'      : [6, validate_float],       # markersize, in 
points
     'lines.antialiased'     : [True, validate_bool],     # antialised (no 
jaggies)
-    'lines.dash_joinstyle'  : ['miter', validate_joinstyle],
-    'lines.solid_joinstyle' : ['miter', validate_joinstyle],
+    'lines.dash_joinstyle'  : ['round', validate_joinstyle],
+    'lines.solid_joinstyle' : ['round', validate_joinstyle],
     'lines.dash_capstyle'   : ['butt', validate_capstyle],
     'lines.solid_capstyle'  : ['projecting', validate_capstyle],
 

Modified: trunk/matplotlib/lib/matplotlib/rcsetup.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/rcsetup.py  2009-02-03 17:25:49 UTC (rev 
6870)
+++ trunk/matplotlib/lib/matplotlib/rcsetup.py  2009-02-03 19:52:02 UTC (rev 
6871)
@@ -343,8 +343,8 @@
     'lines.markeredgewidth' : [0.5, validate_float],
     'lines.markersize'      : [6, validate_float],       # markersize, in 
points
     'lines.antialiased'     : [True, validate_bool],     # antialised (no 
jaggies)
-    'lines.dash_joinstyle'  : ['miter', validate_joinstyle],
-    'lines.solid_joinstyle' : ['miter', validate_joinstyle],
+    'lines.dash_joinstyle'  : ['round', validate_joinstyle],
+    'lines.solid_joinstyle' : ['round', validate_joinstyle],
     'lines.dash_capstyle'   : ['butt', validate_capstyle],
     'lines.solid_capstyle'  : ['projecting', validate_capstyle],
 


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

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to