Revision: 6859
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6859&view=rev
Author: jdh2358
Date: 2009-01-30 16:19:49 +0000 (Fri, 30 Jan 2009)
Log Message:
-----------
purge pyexcelerator refs from docstrings, etc
Modified Paths:
--------------
branches/v0_98_5_maint/examples/pylab_examples/loadrec.py
branches/v0_98_5_maint/lib/mpl_toolkits/exceltools.py
branches/v0_98_5_maint/lib/mpl_toolkits/gtktools.py
Modified: branches/v0_98_5_maint/examples/pylab_examples/loadrec.py
===================================================================
--- branches/v0_98_5_maint/examples/pylab_examples/loadrec.py 2009-01-30
16:19:24 UTC (rev 6858)
+++ branches/v0_98_5_maint/examples/pylab_examples/loadrec.py 2009-01-30
16:19:49 UTC (rev 6859)
@@ -10,7 +10,7 @@
ax.plot(a.date, a.adj_close, '-')
fig.autofmt_xdate()
-# if you have pyExcelerator installed, you can output excel
+# if you have xlwt installed, you can output excel
#import mpl_toolkits.exceltools as exceltools
#exceltools.rec2excel(a, 'test.xls', colnum=4)
show()
Modified: branches/v0_98_5_maint/lib/mpl_toolkits/exceltools.py
===================================================================
--- branches/v0_98_5_maint/lib/mpl_toolkits/exceltools.py 2009-01-30
16:19:24 UTC (rev 6858)
+++ branches/v0_98_5_maint/lib/mpl_toolkits/exceltools.py 2009-01-30
16:19:49 UTC (rev 6859)
@@ -1,5 +1,5 @@
"""
-Some io tools for excel -- requires pypyExcelerator
+Some io tools for excel -- requires xlwt
Example usage:
@@ -22,13 +22,7 @@
import copy
import numpy as np
-try:
- import xlwt as excel
-except ImportError:
- try:
- import pyExcelerator as excel
- except ImportError:
- raise ImportError('You must install xlwt or pyExcelterator to use the
exceltools')
+import xlwt as excel
import matplotlib.cbook as cbook
import matplotlib.mlab as mlab
@@ -65,7 +59,7 @@
def rec2excel(r, ws, formatd=None, rownum=0, colnum=0, nanstr='NaN',
infstr='Inf'):
"""
- save record array r to excel pyExcelerator worksheet ws
+ save record array r to excel xlwt worksheet ws
starting at rownum. if ws is string like, assume it is a
filename and save to it
Modified: branches/v0_98_5_maint/lib/mpl_toolkits/gtktools.py
===================================================================
--- branches/v0_98_5_maint/lib/mpl_toolkits/gtktools.py 2009-01-30 16:19:24 UTC
(rev 6858)
+++ branches/v0_98_5_maint/lib/mpl_toolkits/gtktools.py 2009-01-30 16:19:49 UTC
(rev 6859)
@@ -298,10 +298,6 @@
def rec2gtk(r, formatd=None, rownum=0, autowin=True):
"""
- save record array r to excel pyExcelerator worksheet ws
- starting at rownum. if ws is string like, assume it is a
- filename and save to it
-
formatd is a dictionary mapping dtype name -> mlab.Format instances
This function creates a SortedStringsScrolledWindow (derived
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins