This is a version issue. I used Jupiter notebook on Google Colab, and:
import plotly.figure_factory as FF
will not work because plot 1.1.12
But if you try
from plotly.tools import FigureFactory as FF
it works.
, :
import plotly
print (plotly.\_\_version\_\_)