Skip to content

Instantly share code, notes, and snippets.

@WillKoehrsen
Created January 27, 2019 13:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save WillKoehrsen/d01ccbe966d262a324e63329d9c57273 to your computer and use it in GitHub Desktop.
Save WillKoehrsen/d01ccbe966d262a324e63329d9c57273 to your computer and use it in GitHub Desktop.
import cufflinks as cf
@interact
def scatter_plot(x=list(df.select_dtypes('number').columns),
y=list(df.select_dtypes('number').columns)[1:],
theme=list(cf.themes.THEMES.keys()),
colorscale=list(cf.colors._scales_names.keys())):
df.iplot(kind='scatter', x=x, y=y, mode='markers',
xTitle=x.title(), yTitle=y.title(),
text='title',
title=f'{y.title()} vs {x.title()}',
theme=theme, colorscale=colorscale)
@rivered
Copy link

rivered commented Oct 21, 2020

same error..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment