Get this tiny error:
[gse...@ccn misc]$ python mpl_data_demo.py
File "mpl_data_demo.py", line 1
"""
^
IndentationError: unexpected indent
Not sure it is a Python version specific issue or not:
Python 2.6 (r26:66714, Jun 8 2009)
Index: mpl_data_demo.py
===================================================================
--- mpl_data_demo.py (revision 7353)
+++ mpl_data_demo.py (working copy)
@@ -1,7 +1,7 @@
- """
- Grab mpl data from the ~/.matplotlib/mpl_data cache if it exists, else
- fetch it from svn and cache it
- """
+"""
+Grab mpl data from the ~/.matplotlib/mpl_data cache if it exists, else
+fetch it from svn and cache it
+"""
import matplotlib.cbook as cbook
import matplotlib.pyplot as plt
fname = cbook.get_mpl_data('lena.png', asfileobj=False)
--
Gökhan
mypatch.diff
Description: Binary data
------------------------------------------------------------------------------ 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-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
