<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;display:inline">​Jerzy,</div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;display:inline">It's physics - astrophysics.  In any case, since it's a NASA system I cannot load it up with a lot of software, though I did install the anaconda distribution as I mentioned. The issue is that the anaconda system does not include the toolkits needed to use the backends that display plots in a separate window.  These include pygtk, PyQt5, wxpython, etc. and need to be installed for plotting via pyplot.show().  I could still use a jupyter notebook​</div> <div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;display:inline">​though for me that's less desirable.</div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;display:inline">Jon</div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;display:inline">​</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Date: Fri, 2 Feb 2018 22:23:18 +0100<br>
From: Jerzy Karczmarczuk <<a href="mailto:jerzy.karczmarczuk@unicaen.fr">jerzy.karczmarczuk@unicaen.fr</a><wbr>><br>
To: <a href="mailto:matplotlib-users@python.org">matplotlib-users@python.org</a><br>
Subject: Re: [Matplotlib-users] backend for matplotlib on NAS Lou<br>
Message-ID: <<a href="mailto:10e2370c-451d-57a5-ab6d-dcdaa43a8a03@unicaen.fr">10e2370c-451d-57a5-ab6d-<wbr>dcdaa43a8a03@unicaen.fr</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Le 02/02/2018 ? 21:39, Slavin, Jonathan a ?crit?:<br>
<br>
> Qt5Agg leads to an error from libpthread about the GLIBC version.? Qt4<br>
> fails with "No module named PyQt4".? Anyway, does anyone have a<br>
> solution to this?<br>
><br>
> Of course, I could ask this of the NAS folks, but I thought it was<br>
> likely that someone on this list had dealt with this problem.<br>
<br>
Since you are a professional in astro-whatever, I *might* susepct that<br>
you loaded in your computer a good deal of specific software.<br>
I did that once, when I taught something the local folks name<br>
"informatique g?ographique".? Not knowing what I would really use, I fed<br>
the beast with at least 5 different GIS, and some other stuff, some of<br>
which came with their private copies of QT and PyQT. And there were<br>
conflicts...<br>
A thorough cleaning, elimination of double packages, isolating the<br>
environments, and ensuring that when I use Anaconda Matplotlib packages,<br>
its support is searched for first, really helped, not only me and my<br>
students, but some friends (local physicists) as well. No guarantee,<br>
though...<br>
<br>
Best regards<br>
<br>
Jerzy Karczmarczuk<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/matplotlib-users/attachments/20180202/86375964/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/<wbr>pipermail/matplotlib-users/<wbr>attachments/20180202/86375964/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 03 Feb 2018 07:00:29 +0200<br>
From: Rory Yorke <<a href="mailto:rory.yorke@gmail.com">rory.yorke@gmail.com</a>><br>
To: matplotlib-users <<a href="mailto:matplotlib-users@python.org">matplotlib-users@python.org</a>><br>
Subject: Re: [Matplotlib-users] Replacing deprecated use of<br>
        pyplot.subplot<br>
Message-ID: <<a href="mailto:87h8qyu0pe.fsf@gmail.com">87h8qyu0pe.fsf@gmail.com</a>><br>
Content-Type: text/plain<br>
<br>
Hi Paul,<br>
<br>
Paul Hobson <<a href="mailto:pmhobson@gmail.com">pmhobson@gmail.com</a>> writes:<br>
>> In general, especially for library code, you should avoid relying on the<br>
>> pyplot state machine.<br>
<br>
OK, thanks.  Eric said much the same in his reply.<br>
<br>
Thanks for the example code, that helps.  It seems like the recommended<br>
overall approach is "if axes are provided, used them, else create new ones;<br>
return the axes used".<br>
<br>
For now we'll use the approach I've implemented, perhaps with Eric's<br>
suggested improvement.  I'll propose creating a new suite of plot<br>
functions (there are several specialized plots we do: Bode, Nichols,<br>
etc.) that adopt the no-state-machine approach.<br>
<br>
Thanks, both to you and Eric.<br>
<br>
Regards,<br>
<br>
Rory<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/matplotlib-<wbr>users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Matplotlib-users Digest, Vol 31, Issue 1<br>
******************************<wbr>*****************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">________________________________________________________<br>Jonathan D. Slavin                 Harvard-Smithsonian CfA<br><a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a>       60 Garden Street, MS 83<br>phone: (617) 496-7981       Cambridge, MA 02138-1516<br>cell: (781) 363-0035             USA<br>________________________________________________________<br><br></div></div></div></div>
</div></div>