Supporting matplotlib for both python 2 and python 3 on Mac OS X
<p>We're building code that we want to run on both Python 2 &amp; 3. It uses matplotlib. My local machine runs OS X Yosemite. </p>

<p>The <a href="http://matplotlib.org/faq/installing_faq.html#os-x-notes" rel="nofollow">matplotlib installation documentation</a> provides instructions for both python 2 &amp; 3, but implies that both cannot be supported on a single Mac. Is this true, and if not how can both be supported with matplotlib?</p>

<p>(Parenthetically, I know that separate installations can be made with virtual environments or machines. However, I've found these cumbersome on Macs. On the other hand, I'm also testing builds on a commercial cloud-based build tester that uses separate VMs for each configuration, which works reasonably well.)</p>