Black Lives Matter. Please consider donating to Black Girls Code today.

Get figure attributes

I’m interested in programatically accessing a figure’s attributes. For example, getting the x-axis range via some method like

xrange = fig.get.xlim()

Hi @jmillz if you want to know the x-axis range following some user interaction, you can access it by listening to the relayoutData property of a dcc.Graph as described in Or would you rather get the range at the time of figure creation?

For my application, I’m interested in the range at the time of figure creation.

Hum sorry I don’t think this is possible :-(…