We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import altair import pandas as pd import plotly.express import shiny import shinywidgets _SOURCE_DATA = pd.DataFrame( { "a": ["A", "B", "C", "D", "E", "F", "G", "H", "I"], "b": [28, 55, 43, 91, 81, 53, 19, 87, 52], } ) UI = shiny.ui.page_fixed( shinywidgets.output_widget("plot") ) def server(input): @shinywidgets.render_widget def plot(): return altair.Chart(_SOURCE_DATA).mark_bar().encode(x="a", y="b") app = shiny.App(UI, server)
The text was updated successfully, but these errors were encountered:
I can actually reproduce this behavior in a Jupyter notebook with .properies(height="container"), so I don't think it's on shinywidgets to fix it:
.properies(height="container")
A workaround in the meantime is to set an explicit height on the chart (e.g., chart.properties(height=400))
chart.properties(height=400)
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: