Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 22:12
    dopplershift commented #23374
  • 21:38
    nbeaver commented #23379
  • 21:26
    Cloverwave commented #23380
  • 21:25
    Cloverwave closed #23380
  • 21:25
    Cloverwave edited #23380
  • 21:24
    Cloverwave opened #23380
  • 20:43
    tacaswell closed #23307
  • 20:43
    tacaswell commented #23307
  • 20:26
    Cloverwave commented #21959
  • 20:19
    Cloverwave commented #21959
  • 19:39
    tacaswell commented #17768
  • 19:01
    efiring commented #22818
  • 16:50
    dopplershift edited #23374
  • 16:17
    nbeaver edited #23379
  • 16:12
    nbeaver opened #23379
  • 15:51
    jklymak commented #23378
  • 15:12
    timhoffm labeled #23378
  • 15:12
    timhoffm opened #23378
  • 15:12
    timhoffm labeled #23378
  • 15:07
    DanielChaseButterfield commented #17768
Ian Hunt-Isaak
@ianhi
but regardless of my curiousity of that detail, 30-60 years is truly bananas. It makes matplotlib be truly older than a large number of its users. older in the hours existed sense ratther than the more lax time since birthday sense
sameerCoder
@sameerCoder
@story645
sorry for late reply ,
https://discourse.matplotlib.org/t/numpy-and-matplotlib-tri-triangulation-to-geotiff-in-python/21598
My final output is that i have latitude , longitude and one parameter value , these are unstructure data so with help of trigulation i am creating trimesh (triangulation mesh) ,
with help of latitude longitude and node value i am able to create the trigulation mesh on that triangulation mesh i am plotting z parameter value ,
Now this total plot geotiff i want to create ,
I am able to create png with help of matplotlib but i don''t know how to create geotiff of this plot , as per i know geotiff contain latitude and longitude which is not present in simple png plot image.
matrixbot
@matrixbot
physkets Hi! I'm plotting the colorbar of a hist2d by: FIG.colorbar(IM[3], ax=AXES) where IM = AXES.hist2d(...).
How do I modify the fontsize of the ticklabels of the colorbar?
Benjamin Root
@WeatherGod
matplotlib can't make geotiffs. I think what you really want is to use scipy's delaunay function (or something else in scipy.spatial) to create a 2D data field that you can save to geotiff (most likely via rasterio): https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.Delaunay.html
Ryan May
@dopplershift
I don't remember seeing this many reports about Python packages for a new version of Python so quickly after a release before.
Thomas A Caswell
@tacaswell
We should get cpython to only post the source for the first 2 weeks so that the only people who have it also definitely have a compiler !
Ryan May
@dopplershift
Both cynically and fair, I don't think the web people care that much about compiled extensions.
Thomas A Caswell
@tacaswell
we have started using fastAPI at work and there is a bunch of compiled stuff there
but, point taken
Ryan May
@dopplershift
I'm more baffled than annoyed right now. It takes 10 years to even start really getting rid of 2.7, but now we have a sizable population willing to run 3.9 on day 0?
We're just finally getting to the point where we have a reasonable set of conda-forge packages for 3.9.
Thomas A Caswell
@tacaswell
maybe "wait, we are free from the system packages!!!" that kicked in?
Ryan May
@dopplershift
Perhaps
hannah
@story645
also there's probably some sampling bias in folks who want to run on 3.9 and are also comfortable asking the devs for that
Ryan May
@dopplershift
But these aren't even just requests, they're "it no worky" reports.
hannah
@story645
maybe they just don't know it's not supposed to work?
Ryan May
@dopplershift
maybe. Regardless, none of that is criticism towards anyone, I'm just surprised we have that much demand for 3.9.
hannah
@story645
shrugs there are some fun features in newer python ?
Rohit Rawat
@xordux

Hi,
My PR is failed Codecov check however I am unable find why.
Previously Codecov was fine but then All I did was removing 2 assert statements from a Pytest and replaced them with match argument in the pytest.warns call.

matplotlib/matplotlib#18493 and click here to see that exact different

I am new to this Codecov, can anyone please help.

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