File: plotly.py

package info (click to toggle)
markdown-exec 1.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 728 kB
  • sloc: python: 2,487; javascript: 120; makefile: 37; sh: 30
file content (4 lines) | stat: -rw-r--r-- 134 bytes parent folder | download | duplicates (2)
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"))