From anntzer.lee at gmail.com Fri Apr 2 09:09:14 2021 From: anntzer.lee at gmail.com (Antony Lee) Date: Fri, 2 Apr 2021 15:09:14 +0200 Subject: [Matplotlib-users] ANN: mplcairo 0.4 release Message-ID: Dear all, I am pleased to announce the release of mplcairo 0.4. mplcairo is a Matplotlib backend based on the well-known cairo library, supporting output to both raster (including interactively) and vector formats. In other words, it provides the functionality of Matplotlib's {,qt5,gtk3,wx,tk,macos}{agg,cairo}, pdf, ps, and svg backends. Per Matplotlib's standard API, the backend can be selected by calling matplotlib.use("module://mplcairo.qt") or setting your MPLBACKEND environment variable to `module://mplcairo.qt` for Qt5, and similarly for other toolkits. mplcairo 0.4 adds support for Matplotlib 3.4, support for retrieving underlying cairo contexts, as well as the usual bugfixes over 0.3. Enjoy, Antony Lee -------------- next part -------------- An HTML attachment was scrubbed... URL: From gallard at digimicro.ca Thu Apr 15 11:51:26 2021 From: gallard at digimicro.ca (Gilles Allard) Date: Thu, 15 Apr 2021 11:51:26 -0400 Subject: [Matplotlib-users] sharex Message-ID: <7982575.NyiUUSuA9g@gial.local> The web documentation for matplotlib.axes.Axes.sharex state that Axes.sharex(ax) "is equivalent to passing sharex=ax when constructing the axes" I found it's not really true, at least in interactive mode. When we use add_axes(..., sharex=...), the Axis is shared and the xlims and ticks are also shared. If we use Axes.sharex=ax the xlims and xticks are not shared. Maybe there's a purpose for the discrepancy, but I can't understand it. Comments please! PS: tested with mpl3.3.4 and python3.8 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gallard at digimicro.ca Thu Apr 15 17:57:06 2021 From: gallard at digimicro.ca (Gilles Allard) Date: Thu, 15 Apr 2021 17:57:06 -0400 Subject: [Matplotlib-users] sharex In-Reply-To: <7982575.NyiUUSuA9g@gial.local> References: <7982575.NyiUUSuA9g@gial.local> Message-ID: <1829297.CQOukoFCf9@gial.local> Forget my previous post. Problem is mine. Sorry. > The web documentation for matplotlib.axes.Axes.sharex state that > Axes.sharex(ax) "is equivalent to passing sharex=ax when > constructing the axes" > I found it's not really true, at least in interactive mode. > When we use add_axes(..., sharex=...), the Axis is shared and the > xlims and ticks are also shared. > If we use Axes.sharex=ax the xlims and xticks are not shared. > Maybe there's a purpose for the discrepancy, but I can't > understand it. > Comments please! > PS: tested with mpl3.3.4 and python3.8 From pmhobson at gmail.com Sun Apr 25 23:19:20 2021 From: pmhobson at gmail.com (Paul Hobson) Date: Sun, 25 Apr 2021 20:19:20 -0700 Subject: [Matplotlib-users] Student want to contribute! In-Reply-To: References: Message-ID: Dimitris, In my opinion, yes you should contribute to matplotlib. The top-level navigation bar at matplotlib's website (https://matplotlib.org) has a section titled "Contributing". Give that a read and let us know if you have any questions. -Paul On Sun, Apr 25, 2021 at 7:59 PM Dimitris Mazarakis < dimitrismazarakis77 at gmail.com> wrote: > Hello I am a student at the Department of Management Science & Technology > and in the course "Software Engineering in Practice" I have to contribute > to an open source project. I was thinking of the project matplotlib > beacause I have used it in the past and it is a very useful tool and I also > know python language from other courses and projects. It will be very > helpful if you gave me an opinion whether I should or not choose your > project to contribute. > > Thank very much for your time! > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.haessig at crans.org Mon Apr 26 03:29:48 2021 From: pierre.haessig at crans.org (Pierre Haessig) Date: Mon, 26 Apr 2021 09:29:48 +0200 Subject: [Matplotlib-users] Ingenuity First Flight Message-ID: Hi, Although in 2021 the widespread usage of Python in science is not so much of a surprise, I find it still nice to spot Matplotlib plotting windows. Here at 0'34", the altimeter data of NASA?s Ingenuity Mars Helicopter first flight: https://www.youtube.com/watch?v=ia6S1jZmwWc, plotted with C0/tab:blue color. Does someone knows the "SCLK" time unit ? Best, Pierre From eric at depagne.org Mon Apr 26 03:44:19 2021 From: eric at depagne.org (=?ISO-8859-1?Q?=C9ric?= Depagne) Date: Mon, 26 Apr 2021 09:44:19 +0200 Subject: [Matplotlib-users] Ingenuity First Flight In-Reply-To: References: Message-ID: <2038298.Og80yQZo3B@portable> Le lundi 26 avril 2021, 09:29:48 SAST Pierre Haessig a ?crit : Hi Pierre, > Does someone knows the "SCLK" time unit ? Could CLK be clock? And the S for one of the clocks? ?ric. > > Best, > > Pierre > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users -- Un clavier azerty en vaut deux ---------------------------------------------------------- ?ric Depagne From elvstone at gmail.com Mon Apr 26 03:57:08 2021 From: elvstone at gmail.com (Elvis Stansvik) Date: Mon, 26 Apr 2021 09:57:08 +0200 Subject: [Matplotlib-users] Ingenuity First Flight In-Reply-To: References: Message-ID: We were watching live at work, and all chuckled when that plot came up (we live and breathe matplotlib here). Maybe ask NASA for the altimeter data and incorporate it as an example in the docs? :) I see that matplotlib contributors have been given Mars 2020 Helicopter Contributor achievement badges on GitLab, which is 100% earned IMHO given this prominent role of matplotlib! Elvis Den m?n 26 apr. 2021 kl 09:35 skrev Pierre Haessig : > > Hi, > > Although in 2021 the widespread usage of Python in science is not so > much of a surprise, I find it still nice to spot Matplotlib plotting > windows. Here at 0'34", the altimeter data of NASA?s Ingenuity Mars > Helicopter first flight: https://www.youtube.com/watch?v=ia6S1jZmwWc, > plotted with C0/tab:blue color. > > Does someone knows the "SCLK" time unit ? > > Best, > > Pierre > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users From bruno.pagani at astrophysics.eu Mon Apr 26 03:56:45 2021 From: bruno.pagani at astrophysics.eu (Bruno Pagani) Date: Mon, 26 Apr 2021 11:56:45 +0400 Subject: [Matplotlib-users] Ingenuity First Flight In-Reply-To: References: Message-ID: Le 26/04/2021 ? 11:29, Pierre Haessig a ?crit?: > Hi, > > Although in 2021 the widespread usage of Python in science is not so > much of a surprise, I find it still nice to spot Matplotlib plotting > windows. Here at 0'34", the altimeter data of NASA?s Ingenuity Mars > Helicopter first flight: https://www.youtube.com/watch?v=ia6S1jZmwWc, > plotted with C0/tab:blue color. Yes, also GitHub awarded a ?Ingenuity first flight? badge to people who contributed to projects that have been used in Ingenuity, so that includes matplotlib: https://github.com/readme/nasa-ingenuity-helicopter Regards, Bruno Pagani From selasley at icloud.com Mon Apr 26 07:21:36 2021 From: selasley at icloud.com (Scott Lasley) Date: Mon, 26 Apr 2021 07:21:36 -0400 Subject: [Matplotlib-users] libfreetype issues on Mac OSX Big Sur In-Reply-To: <4764d22e-adaa-0af8-0495-749fa375a26c@speakeasy.net> References: <4764d22e-adaa-0af8-0495-749fa375a26c@speakeasy.net> Message-ID: Does updating freetype with conda update freetype fix the problem? On my Mac running macOS 11.2 conda list freetype shows # Name Version Build Channel freetype 2.10.4 ha233b18_0 and otool -L ~/opt/anaconda3/lib/libfreetype.6.dylib returns ~/opt/anaconda3/lib/libfreetype.6.dylib: @rpath/libfreetype.6.dylib (compatibility version 24.0.0, current version 24.4.0) Hth, Scott > On Feb 1, 2021, at 17:38, Samuel Dupree wrote: > > I'm running Matplotlib ver. 3.3.4 under the Anaconda distribution for Python 3.8.5 on a Mac OS X ver. 11.2. I am getting the following error: > > > Traceback (most recent call last): > File "temp.py", line 9, in > import matplotlib.pyplot as plt > File "/Users/user/opt/anaconda3/lib/python3.8/site-packages/matplotlib/__init__.py", line 174, in > _check_versions() > File "/Users/user/opt/anaconda3/lib/python3.8/site-packages/matplotlib/__init__.py", line 159, in _check_versions > from . import ft2font > ImportError: dlopen(/Users/user/opt/anaconda3/lib/python3.8/site-packages/matplotlib/ft2font.cpython-38-darwin.so, 2): Library not loaded: @rpath/libfreetype.6.dylib > Referenced from: /Users/user/opt/anaconda3/lib/python3.8/site-packages/matplotlib/ft2font.cpython-38-darwin.so > Reason: Incompatible library version: ft2font.cpython-38-darwin.so requires version 24.0.0 or later, but libfreetype.6.dylib provides version 23.0.0 > (base) user at Mac-Pro ~ % > > > The python script being used is > > > #!/Users/user/opt/anaconda3/bin/python > > """ > Spyder Editor > > This is a temporary script file. > """ > > import matplotlib.pyplot as plt > import numpy as np > > plt.style.use("ggplot") > > t = np.arange(0.0, 2.0, 0.1) > s = np.sin(2 * np.pi * t) > s2 = np.cos(2 * np.pi * t) > plt.plot(t, s, "o-", lw=4.1) > plt.plot(t, s2, "o-", lw=4.1) > plt.xlabel("time (s)") > plt.ylabel("Voltage (mV)") > plt.title("Simple plot $\\frac{\\alpha}{2}$") > plt.grid(True) > > plt.savefig("test.png") > > plt.show() > > > Any ideas? > > > Sam Dupree. > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users From CBaumann at slb.com Mon Apr 26 09:01:03 2021 From: CBaumann at slb.com (Carlos Baumann) Date: Mon, 26 Apr 2021 13:01:03 +0000 Subject: [Matplotlib-users] unsubscribe Message-ID: unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: From slasley at umd.edu Mon Apr 26 05:14:41 2021 From: slasley at umd.edu (Scott E. Lasley) Date: Mon, 26 Apr 2021 09:14:41 -0000 Subject: [Matplotlib-users] Ingenuity First Flight In-Reply-To: References: Message-ID: I believe SCLK stands for spacecraft clock. Google found this document https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/sclk.html Best regards, Scott > On Apr 26, 2021, at 03:29, Pierre Haessig wrote: > > Hi, > > Although in 2021 the widespread usage of Python in science is not so > much of a surprise, I find it still nice to spot Matplotlib plotting > windows. Here at 0'34", the altimeter data of NASA?s Ingenuity Mars > Helicopter first flight: https://www.youtube.com/watch?v=ia6S1jZmwWc, > plotted with C0/tab:blue color. > > Does someone knows the "SCLK" time unit ? > > Best, > > Pierre > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users