Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created October 24, 2020 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/3b931ee14cb1244ce4307ae3c69d08bd to your computer and use it in GitHub Desktop.
Save amankharwal/3b931ee14cb1244ce4307ae3c69d08bd to your computer and use it in GitHub Desktop.
fig = make_subplots(rows = 1, cols = 2)
trace1 = go.Histogram(x = test['Number of Words'])
fig.add_trace(trace1, row = 1, col = 1)
trace2 = go.Box(y = test['Number of Words'])
fig.add_trace(trace2, row = 1, col = 2)
fig.update_layout(showlegend = False)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment