Hey, @etienne. Thanks for the reply
I don’t think that’s what I’m looking for, but maybe I don’t understand all of the benefits of that pull request.
When I say “grow” I mean redraw the line to take up the entire view of the plot.
In the below image, the “Medium Refractive Index” line is a shape and annotation that is dynamically added to the plot based on the dataset being explored. Currently, the high end of the x-range is hard-coded to be 5. So, when you zoom in on the plot, you loose the annotation, and when you zoom out of the plot, the line does not extend all the way to the high end of the x axis.
Does that make more sense now? If it does, is there a way to achieve what I want with the current API?