Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 284fc0c commit 54cfed6Copy full SHA for 54cfed6
1 file changed
examples/pylab_examples/mri_demo.py
@@ -4,7 +4,7 @@
4
from pylab import *
5
import matplotlib.cbook as cbook
6
# data are 256x256 16 bit integers
7
-dfile = cbook.get_sample_data('s1045.ima')
+dfile = cbook.get_sample_data('s1045.ima.gz')
8
im = np.fromstring(dfile.read(), np.uint16).astype(float)
9
im.shape = 256, 256
10
0 commit comments