Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d804231

Browse files
committed
Merge pull request #1233 from cgohlke/patch-1
Fix mri_demo.py fails with mpl 1.2.0rc1
2 parents d434480 + 54cfed6 commit d804231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/mri_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from pylab import *
55
import matplotlib.cbook as cbook
66
# data are 256x256 16 bit integers
7-
dfile = cbook.get_sample_data('s1045.ima')
7+
dfile = cbook.get_sample_data('s1045.ima.gz')
88
im = np.fromstring(dfile.read(), np.uint16).astype(float)
99
im.shape = 256, 256
1010

0 commit comments

Comments
 (0)