import pandas as pd
from plotly.offline import iplot
import cufflinks
cufflinks.go_offline()
# Set global theme
cufflinks.set_config_file(world_readable=True, theme='pearl')
fig=df.iplot(asFigure=True,
mode='lines+markers',
size=6,
secondary_y = 'Increase',
secondary_y_title='Increase',
xTitle='Date',
yTitle='Cases',
title='Projected COVID-19 Cases in South Korea',
theme='solar')
fig.show()
import pandas as pd
import chart_studio.plotly as py
from ipywidgets import interact, interact_manual
import cufflinks as cf
@interact
def plot_ProjectedSouthKereaCOVID19():
fig=output.iplot(asFigure=True,
mode='lines+markers',
size=6,secondary_y = 'Increase',
secondary_y_title='Increase',
xTitle='Date',
yTitle='Cases',
title='Projected COVID-19 Cases in South Korea',
theme='solar',
filename='COVID19-South-Korea',
sharing='public')
fig.show()
url=py.iplot(fig, filename='COVID19-South-Korea')
print(url)
Like this:
Like Loading...