Revision: 6207
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6207&view=rev
Author:   mdboom
Date:     2008-10-15 15:55:29 +0000 (Wed, 15 Oct 2008)

Log Message:
-----------
[ 2165316 ] importing pylab overwrites x
[ 2163348 ] error in mathtext_examples.py
[ 2156924 ] Typo: Missing parenthesis
[ 2135925 ] API example barchart_demo.py small error

Modified Paths:
--------------
    trunk/matplotlib/examples/api/barchart_demo.py
    trunk/matplotlib/examples/pylab_examples/mathtext_examples.py
    trunk/matplotlib/lib/matplotlib/pyplot.py
    trunk/matplotlib/lib/matplotlib/ticker.py

Modified: trunk/matplotlib/examples/api/barchart_demo.py
===================================================================
--- trunk/matplotlib/examples/api/barchart_demo.py      2008-10-15 15:54:33 UTC 
(rev 6206)
+++ trunk/matplotlib/examples/api/barchart_demo.py      2008-10-15 15:55:29 UTC 
(rev 6207)
@@ -22,7 +22,8 @@
 # add some
 ax.set_ylabel('Scores')
 ax.set_title('Scores by group and gender')
-ax.set_xticks(ind+width, ('G1', 'G2', 'G3', 'G4', 'G5') )
+ax.set_xticks(ind+width)
+ax.set_xticklabels( ('G1', 'G2', 'G3', 'G4', 'G5') )
 
 ax.legend( (rects1[0], rects2[0]), ('Men', 'Women') )
 

Modified: trunk/matplotlib/examples/pylab_examples/mathtext_examples.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/mathtext_examples.py       
2008-10-15 15:54:33 UTC (rev 6206)
+++ trunk/matplotlib/examples/pylab_examples/mathtext_examples.py       
2008-10-15 15:55:29 UTC (rev 6207)
@@ -49,7 +49,6 @@
     r'$\widehat{abc}\widetilde{def}$',
     r'$\Gamma \Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Phi \Psi \Omega$',
     r'$\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \lambda \mu 
\nu \xi \pi \kappa \rho \sigma \tau \upsilon \phi \chi \psi$',
-    #ur'Generic symbol: $\u23ce \mathrm{\ue0f2 \U0001D538}$'
     ur'Generic symbol: $\u23ce$',
    ]
 

Modified: trunk/matplotlib/lib/matplotlib/pyplot.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/pyplot.py   2008-10-15 15:54:33 UTC (rev 
6206)
+++ trunk/matplotlib/lib/matplotlib/pyplot.py   2008-10-15 15:55:29 UTC (rev 
6207)
@@ -898,7 +898,7 @@
     draw_if_interactive()
     return ret
 xscale.__doc__ = dedent(xscale.__doc__) % {
-    'scale': ' | '.join([repr(x) for x in get_scale_names()]),
+    'scale': ' | '.join([repr(_x) for _x in get_scale_names()]),
     'scale_docs': get_scale_docs()}
 
 def yscale(*args, **kwargs):
@@ -918,7 +918,7 @@
     draw_if_interactive()
     return ret
 yscale.__doc__ = dedent(yscale.__doc__) % {
-    'scale': ' | '.join([repr(x) for x in get_scale_names()]),
+    'scale': ' | '.join([repr(_x) for _x in get_scale_names()]),
     'scale_docs': get_scale_docs()}
 
 def xticks(*args, **kwargs):

Modified: trunk/matplotlib/lib/matplotlib/ticker.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/ticker.py   2008-10-15 15:54:33 UTC (rev 
6206)
+++ trunk/matplotlib/lib/matplotlib/ticker.py   2008-10-15 15:55:29 UTC (rev 
6207)
@@ -25,7 +25,7 @@
 
   * FixedLocator    - Tick locations are fixed
 
-  * IndexLocator    - locator for index plots (eg where x = range(len(y))
+  * IndexLocator    - locator for index plots (eg. where x = range(len(y)))
 
   * LinearLocator   - evenly spaced ticks from min to max
 


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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to