Plotly for Google Colabratory
code:plotly.ipynb
import plotly
import plotly.tools as tls
import plotly.graph_objs as go
import plotly.express as px
import plotly.figure_factory as ff
# If you're using this code locally:
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
# If you're copying this into a jupyter notebook, add:
init_notebook_mode(connected=True)
# To run Plotly code in colab:
import plotly.io as pio
### REMOVE THIS LINE BEFORE RUNNING IN A JUPYTER NOTEBOOK
pio.renderers.default = 'colab'