`add_shape` doesn't adjust axis range

fig=go.Figure()
fig.add_shape(type="rect",
    x0=10, y0=1, x1=8, y1=3,
    line=dict(color="RoyalBlue"),
)

When I run the above, it doesnโ€™t adjust the axis ranges to make sure that shape is visible on screen. Other add_* functions, like add_scatter, do adjust the axis ranges. Is this a bug that should be reported, or is this intentional behavior? Is there a way to dynamically ensure the range is big enough for everything that gets plotted?