Set axes boundaries for zoom/pan feature

I would like to limit the axes boundaries for the zoom/pan feature on plotly graphs.

This function exists within python’s plotly (‘minallowed’ and ‘maxallowed’ from ‘Axes in Python’ but does not seem to exist within R’s plotly (‘Axes in R’).

How can I set axes boundaries for plotly graphs within R? Or is this function limited to python?

Thanks

Hi,

Thanks for your reply. This just sets the default range and isn’t what I asked for. Thanks anyway!