Highlights:
-
Support for all DeckGL features! Just use Pydeck instead of st.deck_gl_chart. To do that, simply pass a PyDeck object tost.pydeck_chart,st.write, or magic.Note that as a preview release things may change in the near future.
Looking forward to hearing input from the community before we stabilize the
API!The goals is for this to replace
st.deck_gl_chart, since it
is does everything the old API did and much more! -
Better handling of Streamlit upgrades while developing. We now auto-reload
the browser tab if the app it is displaying uses a newer version of Streamlit
than the one the tab is running. -
New favicon, with our new logo!
Notable fixes:
- Magic now works correctly in Python 3.8. It no longer causes
docstrings to render in your app.
Breaking changes:
-
Updated how we calculate the default width and height of all chart types.
We now leave chart sizing up to your charting library itself, so please refer
to the library’s documentation.As a result, the
widthandheightarguments have been deprecated
from most chart commands, anduse_container_widthhas been introduced
everywhere to allow you to make charts fill as much horizontal space as
possible (this used to be the default).
) but if they do then you’ll likely need to serve the local file somehow. We don’t have an official way to do that via Streamlit yet (we’re looking into it!), but
Just getting started, but here is an app that I’ll use as a demo at our local meetup next week 