Makie: fitting of x- or y-axes to visible data range?

How to optimally fit an x- or y-axis to visible data?
(the automatic equivalent of manually x- or y-axis zooming)

Related:
How to get the minimum/maximum coordinates of visible zoomed in data?