This is the same in concept to issue #107, however, that issue was for leaflet and my request is for a plotly plot.
Essentially, I have a large plot with a lot of data. I wanted to use filter_slider to be able to zoom in on a portion of the data; however, what ends up happening is just that the data that is filtered out is removed from the plot, but the axes themselves do not change.
I created a reproducible example below from the mtcars dataset:
This is the same in concept to issue #107, however, that issue was for leaflet and my request is for a plotly plot.
Essentially, I have a large plot with a lot of data. I wanted to use
filter_slider
to be able to zoom in on a portion of the data; however, what ends up happening is just that the data that is filtered out is removed from the plot, but the axes themselves do not change.I created a reproducible example below from the
mtcars
dataset:As you can see, I attempted to adjust the limits on my graph based on the
shared_mtcars
SharedData, but it still didn't adjust the graph.In addition to attempting to adjust within
scale_x_continuous(...)
, I also triedcoord_cartesian(xlim=...)
but got the same result.If this functionality could be added, I believe it would be very beneficial.