Keep graph aspect ratio while zooming?

We are using plotly to draw the geometry of an electrical device. When the user zooms in, I would like to keep the aspect ratio of the x-axis and y-axis constant so the geometry does not look distorted. Is this feature available in plotly or plotly 2.0? Thanks!

We’re planning on adding this feature in the next few months.

Subscribe to https://github.com/plotly/plotly.js/issues/272 for the latest development info.

JS example here (scroll to bottom):

Python example here: