Revision: 7384
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7384&view=rev
Author:   jdh2358
Date:     2009-08-05 16:24:03 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
fixed typo in sample data examples

Modified Paths:
--------------
    trunk/matplotlib/examples/api/watermark_image.py
    trunk/matplotlib/examples/user_interfaces/embedding_in_wx3.py
    trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_custom.py
    trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_simple.py

Modified: trunk/matplotlib/examples/api/watermark_image.py
===================================================================
--- trunk/matplotlib/examples/api/watermark_image.py    2009-08-05 16:23:06 UTC 
(rev 7383)
+++ trunk/matplotlib/examples/api/watermark_image.py    2009-08-05 16:24:03 UTC 
(rev 7384)
@@ -8,7 +8,7 @@
 import matplotlib.image as image
 import matplotlib.pyplot as plt
 
-datafile = cbook.get_sample_data('logo2.png', asobj=False)
+datafile = cbook.get_sample_data('logo2.png', asfileobj=False)
 print 'loading', datafile
 im = image.imread(datafile)
 im[:,:,-1] = 0.5  # set the alpha channel

Modified: trunk/matplotlib/examples/user_interfaces/embedding_in_wx3.py
===================================================================
--- trunk/matplotlib/examples/user_interfaces/embedding_in_wx3.py       
2009-08-05 16:23:06 UTC (rev 7383)
+++ trunk/matplotlib/examples/user_interfaces/embedding_in_wx3.py       
2009-08-05 16:24:03 UTC (rev 7384)
@@ -102,7 +102,7 @@
 
 class MyApp(wx.App):
     def OnInit(self):
-        xrcfile = cbook.get_sample_data('embedding_in_wx3.xrc', asobj=False)
+        xrcfile = cbook.get_sample_data('embedding_in_wx3.xrc', 
asfileobj=False)
         print 'loading', xrcfile
 
         self.res = xrc.XmlResource(xrcfile)

Modified: trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_custom.py
===================================================================
--- trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_custom.py    
2009-08-05 16:23:06 UTC (rev 7383)
+++ trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_custom.py    
2009-08-05 16:24:03 UTC (rev 7384)
@@ -10,7 +10,7 @@
 import mpl_toolkits.gtktools as gtktools
 
 
-datafile = cbook.get_sample_data('demodata.csv', asobj=False)
+datafile = cbook.get_sample_data('demodata.csv', asfileobj=False)
 r = mlab.csv2rec(datafile, converterd={'weekdays':str})
 
 

Modified: trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_simple.py
===================================================================
--- trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_simple.py    
2009-08-05 16:23:06 UTC (rev 7383)
+++ trunk/matplotlib/examples/user_interfaces/rec_edit_gtk_simple.py    
2009-08-05 16:24:03 UTC (rev 7384)
@@ -8,7 +8,7 @@
 import matplotlib.cbook as cbook
 import mpl_toolkits.gtktools as gtktools
 
-datafile = cbook.get_sample_data('demodata.csv', asobj=False)
+datafile = cbook.get_sample_data('demodata.csv', asfileobj=False)
 r = mlab.csv2rec(datafile, converterd={'weekdays':str})
 
 liststore, treeview, win = gtktools.edit_recarray(r)


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to