<div dir="ltr"><p style="margin-bottom:0cm;line-height:100%">Hello Tom!</p>
<p style="margin-bottom:0cm;line-height:100%">Thanks for your
attention. I have installed Matplotlib with the repositories of
Ubuntu. 
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%">I solved the problem
of Ubuntu 16 reinstalling MatPlotLib v.<b>1.4.3</b> (downgrading?) 
token from the following link 
<a class="m_3041497804464597905gmail-m_884013828262379119gmail-western" href="https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.4.3/" target="_blank">https://sourceforge.net/projec<wbr>ts/matplotlib/files/matplotlib<wbr>/matplotlib-1.4.3/</a></p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%">With Ubuntu 18 the
previous solution does not work  and the version of MatPlotLib
remains v. <b>2.1.1</b>.</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%">I have attached the
file that I use for the graph with the motion sensor.</p>
<p style="margin-bottom:0cm;line-height:100%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%">Thank you for your
help in this matter,</p>
<p style="margin-bottom:0cm;line-height:100%">Marco</p><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-18 18:00 GMT+02:00  <span dir="ltr"><<a href="mailto:matplotlib-users-request@python.org" target="_blank">matplotlib-users-request@python.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Matplotlib-users mailing list submissions to<br>
        <a href="mailto:matplotlib-users@python.org">matplotlib-users@python.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<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>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:matplotlib-users-request@python.org">matplotlib-users-request@<wbr>python.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:matplotlib-users-owner@python.org">matplotlib-users-owner@python.<wbr>org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Matplotlib-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. custom fonts in matplotlib graphs (Matthew Bradley)<br>
   2. Re: read file with date and plot it (Diego Avesani)<br>
   3. Ubuntu 18 animation and Qt5Agg (Animatore. TRPS03000X)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Tue, 17 Jul 2018 12:44:39 -0600<br>
From: Matthew Bradley <<a href="mailto:mbatr27@gmail.com">mbatr27@gmail.com</a>><br>
To: <a href="mailto:matplotlib-users@python.org">matplotlib-users@python.org</a><br>
Subject: [Matplotlib-users] custom fonts in matplotlib graphs<br>
Message-ID:<br>
        <<a href="mailto:CAPXQNQU1LDjzkRLtza3X1GpJwdAfPTKC8u2jrmodTAzo3a%2Beng@mail.gmail.com">CAPXQNQU1LDjzkRLtza3X1GpJwdAf<wbr>PTKC8u2jrmodTAzo3a+eng@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi all:<br>
<br>
I?ve added a courier.ttf file to my font library and included the font in<br>
the matplotlibrc file in my site packages and rebuilt the cache file. I<br>
still get an error message that the font can?t be found and I can?t find<br>
any system or matplotlib cache files using the finder to delete them. Have<br>
any of you encountered this problem? How can I get matplotlib to recognize<br>
my new font.<br>
<br>
System information:<br>
Matplotlib 2.2.02<br>
Mac OS El Capitan<br>
Python 3.6<br>
And I have the .ttf file in both my system font library and in the<br>
matplotlib font library<br>
<br>
<br>
Thanks!<br>
<br>
-- <br>
Matthew Bradley<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/matplotlib-users/attachments/20180717/02836858/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/<wbr>pipermail/matplotlib-users/<wbr>attachments/20180717/02836858/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 17 Jul 2018 21:19:56 +0200<br>
From: Diego Avesani <<a href="mailto:diego.avesani@gmail.com">diego.avesani@gmail.com</a>><br>
To: <a href="mailto:matplotlib-users@python.org">matplotlib-users@python.org</a><br>
Subject: Re: [Matplotlib-users] read file with date and plot it<br>
Message-ID:<br>
        <CAG8o1y4hSmyZZNEou=iz_GrMzb_<wbr>CpSNeuHj4LZrE=<a href="mailto:f73DH7tNg@mail.gmail.com">f73DH7tNg@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear scott,<br>
<br>
Let's me try. I'll write back as soon as possible,<br>
<br>
Diego<br>
<br>
<br>
On 15 July 2018 at 21:56, Scott Lasley <<a href="mailto:selasley@icloud.com">selasley@icloud.com</a>> wrote:<br>
<br>
> Are you using the names parameter in read_csv to set the header names?<br>
> This works for me<br>
><br>
> headers = ['date','dato1','dato2','<wbr>dato3']<br>
> df = pd.read_csv('./'+folder+'/'+<wbr>fname, header=None, names=headers)<br>
> df.plot(x='date',y='dato2',)<br>
><br>
> > On Jul 15, 2018, at 11:30, diedro <<a href="mailto:diego.avesani@gmail.com">diego.avesani@gmail.com</a>> wrote:<br>
> ><br>
> > Dear all,<br>
> ><br>
> > I have created with fortran the following file:<br>
> ><br>
> > /<br>
> > 2013:01:02-01,-999.0000, 1.0000000E+00,1.0000000E+00<br>
> > 2013:01:02-02,-999.0000, 2.0000000E+00,0.0000000E+00<br>
> > 2013:01:02-03,-999.0000, 3.0000000E+00,2.0000000E+00<br>
> > 2013:01:02-04,-999.0000, 4.0000000E+00,0.0000000E+00<br>
> > 2013:01:02-05,-999.0000, 5.0000000E+00,3.0000000E+00/<br>
> > ....<br>
> ><br>
> > I would like to read it and to plot data according to date<br>
> ><br>
> > so far this is what I do:<br>
> ><br>
> > /folder = 'meteo_stations'<br>
> > fname = 'stations_pp.txt'<br>
> > headers = ['date','dato1','dato2','<wbr>dato3']<br>
> > df = pd.read_csv('./'+folder+'/'+<wbr>fname,)<br>
> ><br>
> > df.plot(x='date',y='dato2',)/<br>
> ><br>
> > unfortunately, I get an error?<br>
> ><br>
> > what shall I do?<br>
> ><br>
> > Thanks for any kind of helps,<br>
> ><br>
> > Best regards<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Sent from: <a href="http://matplotlib.1069221.n5.nabble.com/matplotlib-users-" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.<wbr>nabble.com/matplotlib-users-</a><br>
> f3.html<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/matplotlib-users/attachments/20180717/a67fcd41/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/<wbr>pipermail/matplotlib-users/<wbr>attachments/20180717/a67fcd41/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 18 Jul 2018 08:34:59 +0200<br>
From: "Animatore. TRPS03000X" <<a href="mailto:animatore.trps03000x@didasca.org">animatore.trps03000x@didasca.<wbr>org</a>><br>
To: <a href="mailto:matplotlib-users@python.org">matplotlib-users@python.org</a><br>
Subject: [Matplotlib-users] Ubuntu 18 animation and Qt5Agg<br>
Message-ID:<br>
        <<a href="mailto:CACxvrmO6Sf1R7TxiGci218gEUASiu9zVcYact6xjiiR8NAL91w@mail.gmail.com">CACxvrmO6Sf1R7TxiGci218gEUASi<wbr>u9zVcYact6xjiiR8NAL91w@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi!<br>
<br>
My name is Marco, I am a math and pyhs teacher in an High School in Terni<br>
(130 km far from Rome). In 2015, I and my students made an Open Physics Lab<br>
using open hardware (Arduino, sensors) and Open software (Ubuntu 14,<br>
MatPlotLib and GeoGebra etc.). You can watch the Laboratory working with<br>
distance sensor if you play this video <a href="https://www.youtube.com/watch?
v=fuEjOx7tkwU" rel="noreferrer" target="_blank">https://www.youtube.com/watch?<br>
v=fuEjOx7tkwU</a>.<br>
<br>
In 2016 we had a problem with Ubuntu 16 LTS, MatPlotLib did not work as<br>
well as before: the window and the graph were ok but, finished plotting,<br>
the graph was not shown after zooming (like a loss of data). We solved<br>
doing the steps that you can read at the link below: <a href="http://marcocalvaniatm" rel="noreferrer" target="_blank">http://marcocalvaniatm</a>.<br>
<a href="http://altervista.org/blog/wp-content/uploads/2017/12/open_phys.pdf" rel="noreferrer" target="_blank">altervista.org/blog/wp-<wbr>content/uploads/2017/12/open_<wbr>phys.pdf</a>.<br>
<br>
Now with Ubuntu 18 LTS the problem came up again: the buttons work but no<br>
graph is shown after zooming or go back, the save button is ok. The<br>
solution that we found before is not working now and we do not know what to<br>
do.<br>
<br>
Can anybody help us?<br>
Thanks a bunch for your time spent and your attention<br>
Marco Calvani<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/matplotlib-users/attachments/20180718/7dcd41c4/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/<wbr>pipermail/matplotlib-users/<wbr>attachments/20180718/7dcd41c4/<wbr>attachment-0001.html</a>><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 36, Issue 7<br>
******************************<wbr>*****************<br>
</blockquote></div><br></div>