From quantum.analyst at gmail.com Sat Oct 2 04:02:07 2021 From: quantum.analyst at gmail.com (Elliott Sales de Andrade) Date: Sat, 2 Oct 2021 04:02:07 -0400 Subject: [Matplotlib-users] [ANN] Matplotlib 3.5.0 release candidate 1 Message-ID: Hi all, We are pleased to announce the issue of the first release candidate for 3.5.0. Please test widely so that we may correct any bugs before the final release. Pre-built wheels are available for most major platforms, and can be installed using `pip install matplotlib==3.5.0rc1`. Other packages may also be available already; please check with your preferred source. The 3.3.0 release represents the work of 130 authors over 781 pull requests, and we thank them for their contributions. Some highlights of this release include: * We have switched to the pydata-sphinx-theme for the documentation. There may be some kinks to shake out still; please report a bug if anything is missing. * Figures have a `draw_without_rendering` method * New `Annulus` patch * New arrow styles in `ArrowStyle` and `ConnectionPath` * New colormap registry * Image interpolation is now possible at the RGBA stage * Tick positions and labels can be set simultaneously in `set_ticks` * More configurability of legend title and label colours * Type 42 subsetting is now enabled for the PDF & PS backends; this is one outcome of this year's GSoC. Thanks Aitik Gupta! * A slew of interactive tool improvements for the Slider widgets, and *Selector widgets, thanks to Eric Prestat! * Axes3D draw order and orientation can be manually controlled * Added GTK4 and Qt6 backends and HiDPI support to GTK backends, removal of Qt4 backend 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. From eric at depagne.org Thu Oct 14 10:01:30 2021 From: eric at depagne.org (=?ISO-8859-1?Q?=C9ric?= Depagne) Date: Thu, 14 Oct 2021 16:01:30 +0200 Subject: [Matplotlib-users] Setting xticks rotation in matplotlibrc Message-ID: <5186483.GXAFRqVoOG@portable> Hi all, I'm trying to set the rotation angle of the xticks in my matplotlibrc file using the following: xtick.rotation: 45 But it has no effect. When I start ipython, it loads my matplotlibrc file and I get the following message: Bad key xtick.rotation in file /home/eric/.config/matplotlib/matplotlibrc, line 472 ('xtick.rotation: 45') I wonder if that's the expected behaviour, and that one can only set the rotation using plt.xticks(rotation=45) Thanks. ?ric. From efiring at hawaii.edu Thu Oct 14 17:38:56 2021 From: efiring at hawaii.edu (Eric Firing) Date: Thu, 14 Oct 2021 11:38:56 -1000 Subject: [Matplotlib-users] Setting xticks rotation in matplotlibrc In-Reply-To: <5186483.GXAFRqVoOG@portable> References: <5186483.GXAFRqVoOG@portable> Message-ID: <4ec964df-deb8-797d-8822-97bc96f5d173@hawaii.edu> Eric, Yes, it is expected: matplotlibrc does not include a key for this because it is not common that one would want to change the default orientation. I suggest using plt.tick_params() or the equivalent Axes method for modifying your tick and tick label properties. Eric On 2021/10/14 4:01 AM, ?ric Depagne wrote: > Hi all, > > I'm trying to set the rotation angle of the xticks in my matplotlibrc file > using the following: > xtick.rotation: 45 > But it has no effect. > When I start ipython, it loads my matplotlibrc file and I get the following > message: > Bad key xtick.rotation in file /home/eric/.config/matplotlib/matplotlibrc, line > 472 ('xtick.rotation: 45') > > I wonder if that's the expected behaviour, and that one can only set the > rotation using > plt.xticks(rotation=45) > > Thanks. > ?ric. > > > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > From eric at depagne.org Fri Oct 15 03:11:08 2021 From: eric at depagne.org (=?ISO-8859-1?Q?=C9ric?= Depagne) Date: Fri, 15 Oct 2021 09:11:08 +0200 Subject: [Matplotlib-users] Setting xticks rotation in matplotlibrc In-Reply-To: <4ec964df-deb8-797d-8822-97bc96f5d173@hawaii.edu> References: <5186483.GXAFRqVoOG@portable> <4ec964df-deb8-797d-8822-97bc96f5d173@hawaii.edu> Message-ID: <21755025.EfDdHjke4D@portable> Le jeudi 14 octobre 2021, 23:38:56 SAST Eric Firing a ?crit : Hi Eric, Thanks for the explanation. My use case for being able to change it globally is that in the project I'm working on, I'm doing time analysis and I only have dates on the x-axis, so being able to have a separate matplotlibrc file in my data directory, where I set the xtick orientation once and for all is easier. plt.tick_params() will definitely do the job, so I'll use that. That said, I'm not sure that the minor tick size is changed often too, but it's accessible through a parameter in the rc file so I wonder why some parameters are accessible and some are not. I apologise if the last paragraph sounds (looks?) like I'm complaining or ranting. I'm not, but as english is not my native language, it's sometimes difficult to convey the exact message I intend to in writing. I'm genuinely curious about the choices made. Thanks for the help. ?ric. > Eric, > > Yes, it is expected: matplotlibrc does not include a key for this > because it is not common that one would want to change the default > orientation. > > I suggest using plt.tick_params() or the equivalent Axes method for > modifying your tick and tick label properties. > > Eric > > On 2021/10/14 4:01 AM, ?ric Depagne wrote: > > Hi all, > > > > I'm trying to set the rotation angle of the xticks in my matplotlibrc file > > using the following: > > xtick.rotation: 45 > > But it has no effect. > > When I start ipython, it loads my matplotlibrc file and I get the > > following > > message: > > Bad key xtick.rotation in file /home/eric/.config/matplotlib/matplotlibrc, > > line 472 ('xtick.rotation: 45') > > > > I wonder if that's the expected behaviour, and that one can only set the > > rotation using > > plt.xticks(rotation=45) > > > > Thanks. > > ?ric. > > > > > > > > _______________________________________________ > > Matplotlib-users mailing list > > Matplotlib-users at python.org > > https://mail.python.org/mailman/listinfo/matplotlib-users > > _______________________________________________ > 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 quantum.analyst at gmail.com Thu Oct 28 23:49:04 2021 From: quantum.analyst at gmail.com (Elliott Sales de Andrade) Date: Thu, 28 Oct 2021 23:49:04 -0400 Subject: [Matplotlib-users] [ANN] Cycler 0.11 release Message-ID: <0d21cd01-e8d8-4b21-488f-adf69a5f1ec6@gmail.com> Hi all, We are pleased to announce the release of Cycler 0.11. This is the first Cycler feature release in some years. New features include: * Added Cycler.by_key, which produces values by key (#26) * Added Cycler.__contains__, which adds support for in checks (#34) * Wheels now includes the LICENSE file (#48) * The sdist now includes the LICENSE (#58) and tests (#32) * Cycler no longer supports Python 2. Supported versions of Python are 3.6 and above. For further details, please see the milestone on GitHub: https://github.com/matplotlib/cycler/milestone/1?closed=1 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: