Determining self.dash.fixed_range dimensions

I have a graph where my layout has 'fixedrange': self.dash.fixed_range, set for both xaxis and yaxis? How do I determine the screen dimensions so I can draw another line from one end of the graph to the other?

Ask AI said to use fig.layout.width and ChatGPT suggested fig.layout.xaxis.range but both values are None