@@ -1611,7 +1611,7 @@ def matshow(*args,**kw):
16111611 stretching. If the window dimensions can't accomodate this (extremely
16121612 tall/wide arrays), some stretching will inevitably occur.
16131613
1614- matshow() calls imshow() with Aargs and **kwargs, but by default
1614+ matshow() calls imshow() with args and **kwargs, but by default
16151615 it sets interpolation='nearest' (unless you override it). All
16161616 other arguments and keywords are passed to imshow(), so see its
16171617 docstring for further details.
@@ -1631,7 +1631,7 @@ def samplemat(dims):
16311631 dimlist = [(12,12),(128,64),(64,512),(2048,256)]
16321632
16331633
1634- for i, d in enumerate( dimlist) :
1634+ for d in dimlist:
16351635 fig, ax, im = matshow(samplemat(d))
16361636 show()
16371637
@@ -1640,7 +1640,7 @@ def samplemat(dims):
16401640 arr = args [0 ]
16411641 w ,h = figaspect (arr )
16421642 fig = figure (figsize = (w ,h ))
1643- ax = fig .add_axes ([0.0 , 0.05 , 0.8 , 0.8 ])
1643+ ax = fig .add_axes ([0.15 , 0.09 , 0.775 , 0.775 ])
16441644
16451645 ax .xaxis .tick_top ()
16461646 ax .title .set_y (1.05 ) # raise it up a bit for tick top
0 commit comments