matplotlib as plotly code example Example: how to use plotly in python import plotly.graph_objects as go fig = go.Figure(data=go.Bar(y=[2, 3, 1])) fig.show()