I'm trying to export a chart made with plotly but after 10 minutes running still doesn't output anything. Does anybody know what am I doing wrong?
Cheers!
import plotly.express as px
import plotly.io as pio
import plotly
import pandas as pd
pio.renderers.default='browser'
root = path
df = pd.read_csv(path + \\charts.csv')
fig = px.histogram(df, x="score_round")
fig.update_layout(bargap=0.30)
pio.write_image(fig, root, format='png')
fig.show()