#!/usr/bin/env python # coding: utf-8 # **TEST OF plotly** # In[1]: import plotly.express as px # In[2]: fig = px.line(x=["a","b","c"], y=[1,3,2], title="sample figure") fig.show() # In[3]: print(fig) # In[4]: print(fig.data) # In[5]: print(fig.layout) # In[6]: fig = px.bar(x=["a", "b", "c"], y=[1, 3, 2]) fig.show() # In[7]: import plotly.graph_objects as go # In[8]: fig_widget = go.FigureWidget(fig) fig_widget # In[ ]: