Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:03

    tacaswell on main

    Slightly simplify tcl/tk load i… Merge pull request #23054 from … (compare)

  • 02:03
    tacaswell closed #23054
  • 01:58
    tacaswell commented #23074
  • 01:18
    indygreg commented #23074
  • 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)

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
Rohit Rawat
@xordux
is that test.png present somewhere or you created a blank image of size 800x600 to test it?
Thomas A Caswell
@tacaswell
I saved a mostly empty 800x600 image
In [1]: import matplotlib.pyplot as plt                                                                                                                                                                                                                                                                

In [2]: fig, ax = plt.subplots()                                                                                                                                                                                                                                                                       

In [3]: fig.set_size_inches(8, 6)                                                                                                                                                                                                                                                                      

In [4]: fig.savefig('/tmp/test.png')
Rohit Rawat
@xordux
ok, thank you.
@tacaswell getting same in windows as well:
(test_env) C:\PersonalProjects\MachineLearning\Github\18151>"C:\Program Files\ImageMagick-7.0.10-Q16-HDRI\convert" -size 800x600 -depth 8 -delay 20.0 -loop 0 tmp.png temp.m4v
convert: delegate failed `"ffmpeg.exe" -nostdin -v -1 -i "%M%%d.pam" -plays %I "%u.%m" 2> "%u"' @ error/delegate.c/InvokeDelegate/1898.
Thomas A Caswell
@tacaswell
can you please leave a comment on the imagemagick issue ?