Created
January 27, 2019 13:51
-
-
Save WillKoehrsen/d01ccbe966d262a324e63329d9c57273 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got the same error too.