Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /Chainlit_chainlit /cypress /e2e /plotly /main.py
| import plotly.graph_objects as go | |
| import chainlit as cl | |
| async def start(): | |
| fig = go.Figure( | |
| data=[go.Bar(y=[2, 1, 3])], | |
| layout_title_text="A Figure Displayed with fig.show()", | |
| ) | |
| elements = [cl.Plotly(name="chart", figure=fig)] | |
| await cl.Message(content="This message has a chart", elements=elements).send() | |
Xet Storage Details
- Size:
- 360 Bytes
- Xet hash:
- f5cc2731f28dfa87857da82d132e3ec560a8101cfc9dd711d1d978e3cb29f61f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.