Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 19 23:56
    anntzer commented #23074
  • May 19 23:54
    anntzer synchronize #23054
  • May 19 22:25
    timhoffm commented #21253
  • May 19 22:22
    QuLogic commented #23013
  • May 19 22:16
    tacaswell commented #23074
  • May 19 22:13

    tacaswell on main

    MNT: Remove dummy_threading bec… Merge pull request #23073 from … (compare)

  • May 19 22:13
    tacaswell closed #23073
  • May 19 22:13
    tacaswell commented #23073
  • May 19 22:13
    anntzer commented #23074
  • May 19 22:01
    tacaswell synchronize #23057
  • May 19 21:40
    timhoffm commented #21549
  • May 19 21:27

    QuLogic on v3.5.x

    Backport PR #23069: TST: forgiv… Merge pull request #23075 from … (compare)

  • May 19 21:27
    QuLogic closed #23075
  • May 19 21:20
    timhoffm labeled #22669
  • May 19 21:16
    greglucas commented #23073
  • May 19 21:11

    story645 on main

    DOC: put the gallery keywords i… DOC: remove all keywords except… Merge pull request #22405 from … (compare)

  • May 19 21:11
    story645 closed #22391
  • May 19 21:11
    story645 closed #22405
  • May 19 20:54
    tacaswell commented #23073
  • May 19 20:21
    meeseeksdev[bot] milestoned #23075
Grigory Starkov
@Gregstrq
@jklymak Can you tweak this 2-D zorder?
Jody Klymak
@jklymak
I think zorder works, but I'm not a 3-D expert.
Thomas A Caswell
@tacaswell
I thought we did a best-effort at sorting the artstists, but we do not
Grigory Starkov
@Gregstrq
@jklymak In the case of 3D, are there alternatives to matplolib which provide the same level of control over all the parts of the figure? (and have nice integration with LaTeX)
Thomas A Caswell
@tacaswell
"normal" zorder should control the draw order, but if the artists intersect, then you will only change the escher effocts
Jody Klymak
@jklymak
Ive used mayavi. I don't know what "nice integration with latex" means - certainly you can produce figures that can be included in Latex. If you mean matching fonts, I doubt it, but I've always rolled my eyes at the community that wants their figure fonts to match their text fonts :wink:
Grigory Starkov
@Gregstrq
@jklymak Matching of the fonts is nice, but I would not insist on it. However, can you use math symbols for legends, labels and etc. in mayavi?
In reality, I only need one contour. Is it possible to create color map with an abrupt change in colors which happens at some level?
Like, take a continuos gradient map, cut a piece of it in the middle, and then adjust everything so that the cut corresponds to a particular z level I want?
Jody Klymak
@jklymak
Yes you’d just need to do a bit of surgery on a colormap. There is a tutorial on manipulating colormaps
My memory of mayavi is that font handling is very rudimentary
Thomas A Caswell
@tacaswell
most things that push to openGL have not-great font handling
Grigory Starkov
@Gregstrq
What about PlotLy?
Does any of you have experience with it?
Thomas A Caswell
@tacaswell
apparently paraview (at least at one point) supported formulas in text by calling us to get the rendered buffer
Probably with plotly
Rohit Rawat
@xordux

Hi,
A Question about PR https://github.com/matplotlib/matplotlib/pull/18493/

Azure test is failing for Windows_py37, macOS_py37, macOS_py38 . But I can't understand if there is any relation to the code changes I have done.

I can see that other PR are also failing Azure test(like this merged recently but had all Azure tests failing: matplotlib/matplotlib#18696 )

So, is this like some other issue with master branch or I need to check it in my code?

Thomas A Caswell
@tacaswell
I was just looking at this
it looks like something changed under us in the OSX on azure envirmont and imagemagik is fighting back...
Rohit Rawat
@xordux
Previously (few weeks ago) every check passed smoothly, but today I change assert statement to py.warn and this started failing(I also synced my repo today).
Thomas A Caswell
@tacaswell
between the last CI that passed on azure OSX and the first that failed imagemagick changed from 7.0.10-31 to 7.0.10-34
Rohit Rawat
@xordux
I can't find any release notes of imagemagick in web. Should comparing two releases' code help ?
Thomas A Caswell
@tacaswell
https://github.com/ImageMagick/ImageMagick/releases <- looks like they have a very rapid super-micro release cadence
Rohit Rawat
@xordux
And comparing releases got me more confused :D .. still checking if I get any hint
Jody Klymak
@jklymak
The tk error is more problematic.
Rohit Rawat
@xordux
@jklymak strange thing is that it is passing in Windows_Py38 but not in Windows_Py37

Regarding tk error: Will increasing _test_timeout (which in 10 right now) help ?

Edit: 7th line in test_backend_tk.py
_test_timeout = 10 # Empirically, 1s is not enough on Travis.

Jody Klymak
@jklymak
Yeah, it could just be a transitory failure.
Rohit Rawat
@xordux
So should I test it again or increase timeout to some value?
Jody Klymak
@jklymak
I'd just try running again. I don't understand the test well enough to say. @dopplershift is the resident animation guru
Thomas A Caswell
@tacaswell
Do you use brew locally?
convert -size 800x600 -depth 8 -delay 20.0 -loop 0 rgba:- /tmp/temp.m4v
Rohit Rawat
@xordux
me? I work on Windows 10.
Thomas A Caswell
@tacaswell
I know @jklymak is a mac user ;) . If you update the imagemagick does that command work?
Rohit Rawat
@xordux
I am not sure if it is failing in my system. I am checking it
BTW is there some magic phrase to re-test a PR? Like mentioned here
Rohit Rawat
@xordux
or I need to do something like mentioned in this answer ? To retest PR.
and about imagemagick: I tried running this test(in my branch and current synced master branch both) and getting this error:
AttributeError: module 'matplotlib._c_internal_utils' has no attribute 'display_is_valid'
Thomas A Caswell
@tacaswell
did you re-install from source?
also try a git clean -xfd to clear the build products and force the c-extensions to be re-complied
Rohit Rawat
@xordux
No, I thought it's not required. I will try it now.
Thomas A Caswell
@tacaswell
also make sure you imagemagick is all the way updated, I can produce this on linux as well
Rohit Rawat
@xordux
sure thing 👍
Thomas A Caswell
@tacaswell
✔ 13:02:38 $ convert -size 800x600 -depth 8 -delay 20.0 -loop 0 /tmp/test.png /tmp/temp.m4v
convert: delegate failed `'avconv' -nostdin -v -1 -i '%M%%d.pam' -plays %I '%u.%m' 2> '%u'' @ error/delegate.c/InvokeDelegate/1898.
Rohit Rawat
@xordux
@tacaswell just to mention, imagemagick is not already installed in my system. I should install it and check then, right?
Thomas A Caswell
@tacaswell
definitly an imagemagick bug :-p
given that I think this is a regression in convert that shows up on both mac and linux, unless you want to help out imagmagick and confirm the bug is also present in 7.0.10-34 in windows I would not worry about it