Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:49
    Mr-Milk edited #23140
  • 10:49
    Mr-Milk edited #23140
  • 10:49
    Mr-Milk edited #23140
  • 07:45
    jklymak labeled #23379
  • 07:45
    jklymak commented #23379
  • 07:11
    NeilGirdhar commented #23363
  • 06:22
    JeS24 commented #4067
  • 05:15
    timhoffm commented #23378
  • 04:39
    github-actions[bot] opened #23382
  • 04:26
    Obliman commented #22775
  • 04:24
    Obliman commented #22775
  • 02:18
    nina-wwc commented #4067
  • 02:10
    nina-wwc commented #4067
  • 00:15
    painch synchronize #23381
  • 00:12
    painch opened #23381
  • Jul 01 22:12
    dopplershift commented #23374
  • Jul 01 21:38
    nbeaver commented #23379
  • Jul 01 21:26
    Cloverwave commented #23380
  • Jul 01 21:25
    Cloverwave closed #23380
  • Jul 01 21:25
    Cloverwave edited #23380
Jody Klymak
@jklymak
We have a whole test for this, but I didn't see too many good examples: def test_date2num_dst()
Also def _test_date2num_dst (for some reason...)
Gilles Jacobs
@gillesjac_twitter
Hi, I'm building a figure and want to change the font on the axis and secondary axis, what's the best way to do that?

I've seen the below

        plt.yticks(fontproperties=self.font_property)

But I'm not a fan because 1) it uses pyplot instead of my figure, and 2) it only does the primary axis or the secondary axis depending on calling order (probably can do both if I call it before and after .twinx())

Gilles Jacobs
@gillesjac_twitter

Also, unrelated;

How does zorder magic work? I have some lines (zorder 2) on the primary axis (zorder 0.1), and a polycollection (zorder 1) on the secondary axis (zorder 0); my primary axis has gridlines. If I set those gridlines (ax.yaxis.get_gridlines()) to zorder 0.1 they are still on top of my poly; do I have to set some other attribute?

Jody Klymak
@jklymak
@gillesjac_twitter This is probably best discussed on discourse.matplotlib.org where you can show some code. However if by "secondary axis" you mean a twinned axes, the axes are drawn in the order in which they are added to the figure, and the z-order is on a per-axes basis
Gilles Jacobs
@gillesjac_twitter
Yeah it's a .twinx()'d one; is there any way to work around this restriction? I could transform the data from my secondary axis to the domain of the first, and plot it on the first, but I'd rather avoid such an approach
As for posting code, trying to decude a minimum example. It also doesn't help that I'm stuck (due to constraints) on an older version of matplotlib (1.5)
Actually now that I think of it, I could work around it by using a line-locator tied to my primary axis, on my secondary axis, and plotting the primary axis in front of the secondary one
hannah
@story645
@tacaswell this should link to contributing https://global.pydata.org/talks/matplotlib
Tim Hoffmann
@timhoffm
If anybody has time: PRs #17107 and #18657 would be happy about a second reviewer (first approval by @QuLogic).
Thomas A Caswell
@tacaswell
I have opened them, lets see if I can manage to read them...
Bruno Beltran
@brunobeltran
haha I too have had those two open since tuesday....
hannah
@story645
If anybody has the bandwidth, do you know about windows GUI performance issues https://discourse.matplotlib.org/
Elliott Sales de Andrade
@QuLogic
If I might second the request to look at #18657; I'd prefer not to add more deprecations that need re-importing/renaming...
hannah
@story645
image.png
:happy dance:
not all of 'em seem to actually be matplotlib, but like
Ian Hunt-Isaak
@ianhi
a whole bunch of these https://matplotlib.org/3.3.1/thirdpartypackages/index.html aren't even on there :O
hannah
@story645
Yeah, a todo on the issue is to go through and put PRs on those projects...the ones that are even still maintained (which keeping track of status is what motivated the classifier)
matplotlib/matplotlib#16592
Ian Hunt-Isaak
@ianhi
Is using 3 numbers with subplots a recommended thing?
the example here https://matplotlib.org/3.3.2/api/_as_gen/matplotlib.pyplot.subplots.html doesn't seem to use that pattern at all
Elliott Sales de Andrade
@QuLogic
That's about subplot, not subplots
Ian Hunt-Isaak
@ianhi
ooooo thanks. I think that implies bedtime for me
hannah
@story645
:sleeping:
hannah
@story645
@anntzer what's the advice again for packaging stylfe files https://discourse.matplotlib.org/t/how-to-make-a-matplotlib-package/21654
Elliott Sales de Andrade
@QuLogic
So apparently we have less than 100 TODOs, but they average 7 years old https://www.tickgit.com/browse?repo=github.com/matplotlib/matplotlib
Tim Hoffmann
@timhoffm
Probably because we nowadays write GitHub issues instead of TODO comments.
Antony Lee
@anntzer
write a boring standard python package (https://packaging.python.org/tutorials/packaging-projects/ or other tutorials online) that distributes a standard python module with the rcparams in a standard python dict
hannah
@story645
Thanks!
Bruno Beltran
@brunobeltran
Hot take: MatplotlibDeprecationWarning should move to deriving from UserWarning (originally done to make sure they're always visible) to deriving from DeprecationWarning now that https://www.python.org/dev/peps/pep-0565/ is implemented.
I swear I always assume it's a DeprecationWarning subclass even after years of using knowing otherwise.
(I'm sure this conversation has been had before, but not since I've been around ;))
Jody Klymak
@jklymak
Note that the weekly developer call has moved to Tuesdays, 15:00 EDT (27 Oct = 19:00 UTC) and will follow America/New_York to 15:00 Standard time starting next week (3 Nov = 20:00 UTC).
hannah
@story645
@brunobeltran is totally acceptable to put hottakes on the agenda
Bruno Beltran
@brunobeltran
Done.
Jody Klymak
@jklymak
Maybe just open an issue for that and put on the agenda if it really is controversial? My assumption is that its not controversial and just hasn't been noticed
Tim Hoffmann
@timhoffm
Is gsod call today? If so, I‘ll join later.
Thomas A Caswell
@tacaswell
Yes, and OK
Jody Klymak
@jklymak
Dev call today at 15:00 EDT (19:00 UTC). Please populate agenda with things that need discussion https://hackmd.io/yeRgrkuRTC6wYEgcJL_SVQ
Bruno Beltran
@brunobeltran
There seems to be a meeting passcode now?
Thomas A Caswell
@tacaswell
should not be..
Bruno Beltran
@brunobeltran
jk needed to refresh hackmd
Thomas A Caswell
@tacaswell
re the NASA funding call, I have also reached out to a couple contacts I have at JPL
hannah
@story645
Anyone know why keypress events wouldn't work well in jupyter ?https://twitter.com/brandon_rhodes/status/1321099267294060549?s=19
hannah
@story645
Thanks @QuLogic! 😁
matrixbot
@matrixbot
physkets Hi! Say I have plots that use some colormap, and display a colorbar. Now, if I want all the colorbars to be of the same "size/extent", do I just set boundaries in colorbar()? Or do I need to make other changes as well?