Guest User

Untitled

a guest
Mar 23rd, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. from scipy.io import loadmat
  2. from matplotlib import pyplot as plt
  3. from numpy import np
  4. import numpy as np
  5.  
  6. mat = loatmat('2015_218/G_2015_218_0001_GL_N_VIR.mat')
  7. print(type(mat))
  8.  
  9. matkeys = mat.keys()
  10.  
  11. print(matkeys)
  12.  
  13. sst = mat['sst']
  14.  
  15. print(type(sst))
  16.  
  17. plt.show(sst)
  18.  
  19. Traceback (most recent call last):
  20. File "wraptest.py", line 2, in <module>
  21. from matplotlib import pyplot as plt
  22. File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 132, in <module>
  23. if not compare_versions(six.__version__, '1.3'):
  24. AttributeError: 'module' object has no attribute '__version__'
Advertisement
Add Comment
Please, Sign In to add comment