from fbprophet.plot import plot_plotly as go #tive que adicionar pq o sistema nao estava reconhecendo o go (graphic objects)
fig = go.Figure() #graphic objects fig.add_trace(go.Scatter(x=df['Intensidade_de_cor'], y=df['Alcool'], mode = 'markers', marker = dict(color = agrupador.labels_.astype(np.float)), text = labels)) fig.show()
Agora aparece o seguinte erro:
AttributeError Traceback (most recent call last) in () 3 from fbprophet.plot import plot_plotly as go 4 ----> 5 fig = go.Figure() #graphic objects 6 fig.add_trace(go.Scatter(x=df['Intensidade_de_cor'], 7 y=df['Alcool'],
AttributeError: 'function' object has no attribute 'Figure'