Skip to content Skip to sidebar Skip to footer

Autoscale The Plot `plotly`

I need to produce a plot of errors between the true and predicted arrays. I've managed to do it with plotly, as shown in Code 1, but the produced plot has too much space on the top

Solution 1:

You can try the following:

fig['layout']['yaxis'].update(autorange = True)

Post a Comment for "Autoscale The Plot `plotly`"