Skip to content

Instantly share code, notes, and snippets.

@amankharwal

amankharwal/best streaming.py Secret

Created Jan 21, 2021
Embed
What would you like to do?
figure = []
figure.append(px.violin(tv_shows_both_ratings, x = 'StreamingOn', y = 'IMDb', color='StreamingOn'))
figure.append(px.violin(tv_shows_both_ratings, x = 'StreamingOn', y = 'Rotten Tomatoes', color='StreamingOn'))
fig = make_subplots(rows=2, cols=4, shared_yaxes=True)
for i in range(2):
for j in range(4):
fig.add_trace(figure[i]['data'][j], row=i+1, col=j+1)
fig.update_layout(autosize=False, width=800, height=800)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment