From quantum.analyst at gmail.com Tue Nov 16 22:52:15 2021 From: quantum.analyst at gmail.com (Elliott Sales de Andrade) Date: Tue, 16 Nov 2021 22:52:15 -0500 Subject: [Matplotlib-devel] [ANN] Matplotlib 3.5.0 Message-ID: Hi all, We are pleased to announce the release of Matplotlib 3.5.0. Pre-built wheels are available for most major platforms, and can be installed using `pip install matplotlib==3.5.0`. Wheels are now available for Apple Silicon and Python 3.10. Other packages /may/ also be available already; please check with your preferred source. We thank the 144 authors for the 939 pull requests that comprise the 3.5.0 release. Highlights of this release include: * Figure and Axes creation / management o |subplot_mosaic| supports simple Axes sharing o Figure now has |draw_without_rendering| method o Figure |__init__| passes keyword arguments through to set * Plotting methods o Add |Annulus| patch o |set_data| method for |FancyArrow| patch o New arrow styles in |ArrowStyle| and |ConnectionPatch| o Setting collection offset transform after initialization * Colors and colormaps o Colormap registry (experimental) o Image interpolation now possible at RGBA stage o |imshow| supports half-float arrays o A callback registry has been added to |Normalize| objects * Titles, ticks, and labels o Settings tick positions and labels simultaneously in |set_ticks| * Fonts and Text o Triple and quadruple dot mathtext accents o Font properties of legend title are configurable o |Text| and |TextBox| |parse_math| option o Text can be positioned inside |TextBox| widget o Simplified font setting for |usetex| mode o Type 42 subsetting is now enabled for PDF/PS backends * rcParams improvements o Allow setting default legend |labelcolor| globally * 3D Axes improvements o |Axes3D| now allows manual control of draw order o Allow changing the vertical axis in 3D plots o |plot_surface| supports masked arrays and NaNs o 3D plotting methods support |data| keyword argument * Interactive tool improvements o Colorbars now have pan and zoom functionality o Updated appearance of |Slider| widgets o Selector additions of clearing, dragging, and removal o |CallbackRegistry| objects gain a method to temporarily block signals o Directional sizing cursors * Sphinx extensions o More configuration of mathmpl sphinx extension * Backend-specific improvements o New GTK4 backend o New Qt6 backend o HiDPI support in Cairo-based, GTK, and Tk backends o Qt figure options editor improvements o WX backends support mouse navigation buttons o WebAgg uses asyncio instead of Tornado For further details, please see the What's new in Matplotlib 3.5.0 page: https://matplotlib.org/3.5.0/users/whats_new.html and the milestone on GitHub: https://github.com/matplotlib/matplotlib/milestone/59?closed=1 For packagers, this release contains some changes to dependencies: * NumPy 1.17 is now required. * Tk 8.4 is now required, when used. * The fontTools package is now required for font subsetting. * The underscore LaTeX package is now required for usetex output. * Matplotlib-specific build options have moved from setup.cfg to mplsetup.cfg, by default. This release is signed by my GPG key. The fingerprint is: 23CA B59E 3332 F94D 26BE F037 8D86 E7FA E5EB 0C10 and it is also used to sign this message. -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From quantum.analyst at gmail.com Wed Nov 17 18:30:40 2021 From: quantum.analyst at gmail.com (Elliott Sales de Andrade) Date: Wed, 17 Nov 2021 18:30:40 -0500 Subject: [Matplotlib-devel] [ANN] Matplotlib 3.5.0 In-Reply-To: References: Message-ID: <87db1c19-98b5-7fab-454c-855d161abbb7@gmail.com> On 2021-11-16 22:52, Elliott Sales de Andrade wrote: > Hi all, > > We are pleased to announce the release of Matplotlib 3.5.0. > > Pre-built wheels are available for most major platforms, and can be > installed using `pip install matplotlib==3.5.0`. Wheels are now > available for Apple Silicon and Python 3.10. Other packages /may/ also > be available already; please check with your preferred source. > > We thank the 144 authors for the 939 pull requests that comprise the > 3.5.0 release. > > Highlights of this release include: > > ?* Figure and Axes creation / management > ???? o |subplot_mosaic| supports simple Axes sharing > ???? o Figure now has |draw_without_rendering| method > ???? o Figure |__init__| passes keyword arguments through to set > ?* Plotting methods > ???? o Add |Annulus| patch > ???? o |set_data| method for |FancyArrow| patch > ???? o New arrow styles in |ArrowStyle| and |ConnectionPatch| > ???? o Setting collection offset transform after initialization > ?* Colors and colormaps > ???? o Colormap registry (experimental) > ???? o Image interpolation now possible at RGBA stage > ???? o |imshow| supports half-float arrays > ???? o A callback registry has been added to |Normalize| objects > ?* Titles, ticks, and labels > ???? o Settings tick positions and labels simultaneously in |set_ticks| > ?* Fonts and Text > ???? o Triple and quadruple dot mathtext accents > ???? o Font properties of legend title are configurable > ???? o |Text| and |TextBox| |parse_math| option > ???? o Text can be positioned inside |TextBox| widget > ???? o Simplified font setting for |usetex| mode > ???? o Type 42 subsetting is now enabled for PDF/PS backends > ?* rcParams improvements > ???? o Allow setting default legend |labelcolor| globally > ?* 3D Axes improvements > ???? o |Axes3D| now allows manual control of draw order > ???? o Allow changing the vertical axis in 3D plots > ???? o |plot_surface| supports masked arrays and NaNs > ???? o 3D plotting methods support |data| keyword argument > ?* Interactive tool improvements > ???? o Colorbars now have pan and zoom functionality > ???? o Updated appearance of |Slider| widgets > ???? o Selector additions of clearing, dragging, and removal > ???? o |CallbackRegistry| objects gain a method to temporarily block > ?????? signals > ???? o Directional sizing cursors > ?* Sphinx extensions > ???? o More configuration of mathmpl sphinx extension > ?* Backend-specific improvements > ???? o New GTK4 backend > ???? o New Qt6 backend > ???? o HiDPI support in Cairo-based, GTK, and Tk backends > ???? o Qt figure options editor improvements > ???? o WX backends support mouse navigation buttons > ???? o WebAgg uses asyncio instead of Tornado > > For further details, please see the What's new in Matplotlib 3.5.0 page: > https://matplotlib.org/3.5.0/users/whats_new.html Appologies, this link should be: https://matplotlib.org/3.5.0/users/prev_whats_new/whats_new_3.5.0.html > and the milestone on GitHub: > https://github.com/matplotlib/matplotlib/milestone/59?closed=1 > > For packagers, this release contains some changes to dependencies: > > ?* NumPy 1.17 is now required. > ?* Tk 8.4 is now required, when used. > ?* The fontTools package is now required for font subsetting. > ?* The underscore LaTeX package is now required for usetex output. > ?* Matplotlib-specific build options have moved from setup.cfg to > ?? mplsetup.cfg, by default. > > This release is signed by my GPG key. The fingerprint is: > 23CA B59E 3332 F94D 26BE F037 8D86 E7FA E5EB 0C10 > and it is also used to sign this message. -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From niyas.sait at linaro.org Thu Nov 18 12:55:48 2021 From: niyas.sait at linaro.org (Niyas Sait) Date: Thu, 18 Nov 2021 17:55:48 -0000 Subject: [Matplotlib-devel] win/arm64 build with latest FreeType Message-ID: Hello, I've been looking at porting matplotlib for windows on arm64 targets. I've built matplotlib with static library built from the trunk of FreeType (arm64 support is not yet on any releases). I can build without any issues but when I try to run the unit tests some of the tests are failing due to some small delta between the expected and actual image produced. My first guess was the FreeType version difference and I have done an experiment on an x64 windows machine to confirm it. And it looks like all tests pass with the default FreeType version 2.6.1 but if I use the trunk unit tests fail on x64 as well. I guess we will need to update the reference image for the new version of FreeType. Could someone provide guidance on how to do that locally so that I can test if the win/arm64 build is working as expected ? Also, the next release of FreeType (2.12) would have arm64 support, and I wonder if anyone anticipates any particular issues with adding support for the new FreeType release. Thanks, Niyas -------------- next part -------------- An HTML attachment was scrubbed... URL: