Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:06
    Jesperten commented #22543
  • 12:49
    DWesl commented #22997
  • 12:47
    DWesl edited #23066
  • 12:47
    DWesl opened #23066
  • 12:32
    NickolasGiannatos opened #23065
  • 12:25
    anntzer synchronize #22507
  • 12:17
    juanitorduz commented #23007
  • 12:11
    jklymak commented #22745
  • 12:02
    meeseeksdev[bot] labeled #23064
  • 12:02
    meeseeksdev[bot] labeled #23064
  • 12:02
    meeseeksdev[bot] milestoned #23064
  • 12:02
    meeseeksmachine opened #23064
  • 12:01

    timhoffm on main

    FIX: fix check_1d to also check… Merge pull request #22975 from … (compare)

  • 12:01
    timhoffm closed #22975
  • 12:01
    timhoffm closed #22973
  • 11:34
    timhoffm commented #22881
  • 11:28

    timhoffm on main

    doc: mathtext example use axhsp… Merge pull request #23063 from … (compare)

  • 11:28
    timhoffm commented #23063
  • 11:28
    timhoffm closed #23063
  • 11:24
    jklymak commented #22881
Rohit Rawat
@xordux
Perhaps this happened because I had not synced my forked repo with Matplotlib's repo. So I followed steps as mentioned here, will see if it works.
Grigory Starkov
@Gregstrq
Hi, guys. I am trying to draw a 3d contour over a 3d surface plot. However, the contour lines appear as if they are behind the surface. How do I make them appear in front of the surface?
Jody Klymak
@jklymak
In general Matplotlib is not very good at 3-D rendering of multiple objects; in particular, they do not know anything about one another, so just are drawn, with a somewhat arbitrary 2-D zorder.
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?