haesleinhuepf / napari-process-points-and-surfaces

Process and analyze surfaces using vedo in napari.
BSD 3-Clause "New" or "Revised" License
21 stars 4 forks source link

Deprecation messages in docstrings #61

Open haesleinhuepf opened 1 year ago

haesleinhuepf commented 1 year ago

It would be good if the docstrings of open3d-based functions would mention their replacements.

jo-mueller commented 1 year ago

Regarding this, I saw a nice technique on how this is done at vedo: There, the deprecation warning is implemented as a decorator that doesn't do anything besides printing the name of the decorated function and the deprecation warning.

jo-mueller commented 1 year ago

Even easier: It's actually a python package