<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Data Wrangling Blog - Latest Comments in Python Montage Code for Displaying Arrays</title><link>http://datawranglingblog.disqus.com/</link><description></description><atom:link href="https://datawranglingblog.disqus.com/python_montage_code_for_displaying_arrays/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 29 Feb 2008 19:39:10 -0000</lastBuildDate><item><title>Re: Python Montage Code for Displaying Arrays</title><link>http://www.datawrangling.com/python-montage-code-for-displaying-arrays#comment-11078443</link><description>&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;After looking at the post this morning, I realized that the imshow line:&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;pre&gt;pylab.imshow(flipud(rot90(M)), cmap=colormap)&lt;br&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;... is a lot cleaner using a transpose:&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;pre&gt;pylab.imshow(M.T, cmap=colormap)&lt;br&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Skomoroch</dc:creator><pubDate>Fri, 29 Feb 2008 19:39:10 -0000</pubDate></item></channel></rss>