Jan-19-2018, 07:18 PM
Your line
Next time when posting code, please put code in Python code tags. And full error traceback in error code tags.
#import plotly.offline as offline
is commented (line starts with # symbol means it is a comment). PyCharm also colours comments differently than rest of code, so you can spot it easily. Next time when posting code, please put code in Python code tags. And full error traceback in error code tags.