mpl_data_demo example

Get this tiny error:

[gsever@…730… 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

mypatch.diff (549 Bytes)

···

===================================================================
— 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