File: plotly.py

package info (click to toggle)
markdown-exec 1.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 740 kB
  • sloc: python: 2,497; javascript: 180; makefile: 32; sh: 30
file content (4 lines) | stat: -rw-r--r-- 134 bytes parent folder | download
1
2
3
4
import plotly.express as px

fig = px.bar(x=["a", "b", "c"], y=[1, 3, 2])
print(fig.to_html(full_html=False, include_plotlyjs="cdn"))