Open
Description
openedon Sep 24, 2024
Description
I created a minimal app using shiny and plotly using shinywidgets. When I use the select input to change the x variable, the plotly plot rerenders, but there is a visible "jump" that is jarring. Is there a way to avoid this? Note that I tried the same app with streamlit
and dash
and in both cases, there is NO "jump"
What I Did
import plotly.express as px
from shiny.express import input, ui
from shinywidgets import render_plotly
ui.input_selectize('xvar', 'Select X', ['tip', 'total_bill'])
@render_plotly
def plot2():
return px.histogram(px.data.tips(), x=input.xvar())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels