I\'m trying to use cufflinks locally to generate plotly graphs from a pandas Dataframe
However, when I try and configure cufflinks in a python console,
@elsherbini and @Charon: unfortunately I have not enough credentials to comment, so I have to write a new answer. your code pointed me into the right direction, but with the latest cufflinks version it goes even simpler:
import cufflinks as cf
df.iplot(kind='bar', barmode='stack', filename="my_barplot" , asPlot=True)
This code will generate a my_barplot.html file and open the plot in the default web browser. And this code is scriptable.