-
Website
http://www.datawrangling.com/ -
Original page
http://www.datawrangling.com/python-montage-code-for-displaying-arrays -
Subscribe
All Comments -
Community
-
Top Commenters
-
yaroslavvb
1 comment · 1 points
-
endah
1 comment · 1 points
-
malar
1 comment · 1 points
-
bearrito
1 comment · 1 points
-
pskomoroch
9 comments · 1 points
-
-
Popular Threads
I'm suffering from a serious lack of sleep this week, so let me know if you spot any bad code as I post these examples.
After looking at the post this morning, I realized that the imshow line:
<pre lang="python">
pylab.imshow(flipud(rot90(M)), cmap=colormap)
</pre>
... is a lot cleaner using a transpose:
<pre lang="python">
pylab.imshow(M.T, cmap=colormap)
</pre>