Hi all,

I'm writing regarding an issue I'm having porting the yt package to
properly handle some of the changes in matplotlib 1.4.

yt is a python library for analysis and visualization of volumetric
data, with a focus on astrophysical simulation datasets.  We use
matplotlib heavily for visualization tasks.

For a while now, we've been using the natural neighbor interpolation
in matplotlib.delaunay to generate contour plots from image data.  See
for example, this function:

https://bitbucket.org/yt_analysis/yt/src/84b551a47ac462d646963f0b13e4dd0e85bd9751/yt/visualization/plot_modifications.py?at=yt#cl-311

In this example, self.triang is an instance of
matplotlib.delaunay.triangulate.Triangulation.

The bug report I opened regarding this issue might also be informative:

https://bitbucket.org/yt_analysis/yt/issue/764/matplotlibdelaunay-deprecated-in

I'm writing because it seems that matplotlib.delaunay was deprecated
recently.  This means users who import the yt plotting code will see a
DeprecationWarning if they are running the upcoming matplotlib 1.4
release -- definitely an undesirable situation.

Unfortunately, it looks like the workaround for this issue is to use
natgrid to generate the interpolation.  This is undesirable from our
point of view since we have no way in general to control how users build their
matplotlib installation.

I'm curious whether any of the matplotlib developers have alternate
ideas for how to do deal with this.

Thanks for your help!

-Nathan Goldbaum

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to