I’d like to set an equal aspect ratio AND set the range of the axes. The example here sets the aspect ratio, but adjusting the range (e.g. below) just sets the centre of the viewed range, rather than cropping/limiting the axes range. I can play around with layout width and height, but it gets awkward when taking in to account padding, legend, colorbar etc.
{ xaxis: {
scaleanchor: ‘x’,
scaleratio: 1,
range: [1,3]
},
yaxis: {
scaleanchor: ‘x’,
scaleratio: 1,
range: [1,3]
}}
I’ve also tried layout.scene: {aspectratio: {‘x’:1, ‘y’:1}} and layout.scene: {aspectmode: “data”} to no avail.
Am I doing something wrong? Any help appreciated as I’m using a big fudge at the moment!