Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from scipy.io import loadmat
- from matplotlib import pyplot as plt
- from numpy import np
- import numpy as np
- mat = loatmat('2015_218/G_2015_218_0001_GL_N_VIR.mat')
- print(type(mat))
- matkeys = mat.keys()
- print(matkeys)
- sst = mat['sst']
- print(type(sst))
- plt.show(sst)
- Traceback (most recent call last):
- File "wraptest.py", line 2, in <module>
- from matplotlib import pyplot as plt
- File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 132, in <module>
- if not compare_versions(six.__version__, '1.3'):
- AttributeError: 'module' object has no attribute '__version__'
Advertisement
Add Comment
Please, Sign In to add comment