Replacing matplotlib.mlab.griddata by scipy.interpolate.griddata #148
Conversation
Thanks for this Henrique!
Cubic is fine. Please replace the mlab call in |
@leouieda, please is there any special application for the nearest neighbor method |
Good bye 'nearest'. We say farewell
|
Ops farewell to the wrong defunct. Cheers fatiandovillage
|
@hbueno you can tick the "Update docstrings" task (you've already update the You should leave the changelog for last. I've update the develop docs putting it last in the checklist.
When you run this now you'll have "merge conflicts". You'll need to resolve them before we can merge the PR. See https://help.github.com/articles/resolving-a-merge-conflict-from-the-command-line/ for a guide on how to do that. |
Conflicts: doc/changelog.rst
@hbueno great job! After this one little fix I think it's ready to merge. |
@hbueno looks good to merge. Do you have anything else to add? |
No. Thanks... |
Replacing matplotlib.mlab.griddata by scipy.interpolate.griddata
As discussed in issue #146, I'd some problems when I tried to run
PrismMesh.carvetopo
because ofmatplotlib.mlab.griddata
. So, @leouieda suggested to replace thematplotlib.mlab.griddata
functions byscipy.interpolate.griddata
.@leouieda I don't know what's the best interpolation method to set as default. With
scipy.interpolate.griddata
our options arelinear
,nearest
andcubic
. Here I'm usingcubic
.Checklist: