diff --git a/src/xtgeo/surface/regular_surface.py b/src/xtgeo/surface/regular_surface.py index a3823c606..d6befb7b5 100644 --- a/src/xtgeo/surface/regular_surface.py +++ b/src/xtgeo/surface/regular_surface.py @@ -1180,7 +1180,7 @@ def to_file( deprecated_in="2.15", removed_in="4.0", current_version=__version__, - details="Use xtgeo.surface_from_hdf() instead", + details="Use xtgeo.surface_from_file() instead", ) def from_hdf( self,