Skip to content

Instantly share code, notes, and snippets.

@korakot
Last active December 30, 2020 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korakot/51a5bf63321a897acde30864239495b9 to your computer and use it in GitHub Desktop.
Save korakot/51a5bf63321a897acde30864239495b9 to your computer and use it in GitHub Desktop.
Use plotly as pandas backend in Colab
!pip install -U plotly
import pandas as pd
pd.options.plotting.backend = "plotly"
df.col.plot()
# To get log scale
fig = df.col.plot() # can't logy=True
fig.update_layout(yaxis_type="log")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment