Open ilyinss opened 3 years ago
try to add second loop (but its not working again):
test_fig = make_subplots(rxows = len(test.index.levels[0]),
cols = 1)
for i in test.index.levels[0]:
local_df = test.loc[test.index.get_level_values(0)==i]
for j in local_df.index.levels[1]:
local_df_2 = local_df.loc[local_df.index.get_level_values(1)==j]
trace = go.Bar(x = local_df_2.index.get_level_values(1),
y = local_df_2.values)
test_fig.append_trace(trace, i-8, 1)
test_fig.show()
Hello. At first, thank you for Plotly. Its great. Help me, if you can.
plotly shows 3 subplots, but 2 of subplots are empty. what am i doing wrong?
i would like to get 3 subplots: for each month in dataset
stackoverflow cant helps me.
thank you
p.s. sorry for my english speech - its not my natural