Cufflinks after Plotly 4.0

Hi all, after upgrade to plotly 4.0 I can’t use cufflinks any more. It was very convenient to do df.iplot before. Any idea how can I do it now? Many thanks!

@jeffwen, if you are comfortable changing source code, you can go to cufflinks source, (if you are using anaconda, it will be in anaconda3/lib/python3.7/site-packages/cufflinks), then do the following

  1. install chart_studio;
  2. go to the config file of cufflinks: _init_ .py,, and, changes plotly.plotly to chart_studio.plotly

For example change

import plotly.plotly as py
from plotly.plotly import plot


import chart_studio.plotly as py
from chart_studio.plotly import plot

I had been using cufflinks with these changes for sometimes now and it seems to be fine. You can also checkout the github issue here.

I don’t know how to do pull request. Otherwise, I will consider for a pull request. I really hope this issue will resolve soon.

Many thanks Mike! I will do it for now. Still hope for a proper release in the future. :grinning: