0

I have a dataframe named "Actuals", indexed by time. This is how I want to plot the Load column.

fig = go.Figure([go.Scatter(x=Actuals.index, y= Actuals['Load (kW)'])])
fig.show()

When I run this part, it executes without rising any error. but it doesn't display the figure. What is the issue and how can I resolve it? I am using Google colaboratory

HoOman
  • 455
  • 1
  • 7
  • 15

1 Answers1

0

I should have added this line of code:

import plotly.io as pio
pio.renderers.default = 'colab'
HoOman
  • 455
  • 1
  • 7
  • 15