Plotly() returns empty plot

Hello there!, I am a novice when it comes to R Studio. so would appreciate if someone can point me in the right direction. I am using plotly package and using plotly() command to generate my plots.

fig1a <- plot_ly() %>% add_trace(data=x15min_data_summary_2017, x = x15min_data_summary_2017$date, y = x15min_data_summary_2017$ab_jet_all, type="scatter", mode="lines", name="AB alarm")

fig1b <- plot_ly() %>% add_trace(data=x15min_data_summary_2017, x = x15min_data_summary_2017$date, y = x15min_data_summary_2017$cd_jet_all, type="scatter", mode="lines", name="CD alarm")

fig1 <- subplot(fig1a, fig1b, nrows =2, margin = 0.04, heights =c(0.5,0.5))
fig1

I used to get these plots before. So it is not a problem with the data. However recently when I tried to plot them, the commands run fine, but nothing gets generated. Can someone help

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.