Get datapoints in currently zoomed view in Python

Hi Emmanuelle,

sorry if this may be a very basic question. However, I couldn’t find a solution when googling it.

Can you show me how to “select the data points which fit inside this bounds”?

Something which translates “xaxis.range[0]”: 0.9234652665589661" into variable_x = corresponding_variable_value would be on point.

I just found something on the javascript forum: Get data for current zoomed in view