-
-
Save karanjagota/e9c00352ba56b8a3771e0428f97e5de6 to your computer and use it in GitHub Desktop.
gist for my medium blogs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
np.random.seed(63) | |
random_y1 = np.random.randint(1,100,20) | |
random_y2 = np.random.randint(1,200,20) | |
trace1 = go.Box(y=random_y1,name='Boxplot1') | |
trace2 = go.Box(y=random_y2,name='Boxplot2') | |
data = [trace1,trace2] | |
layout = go.Layout(title='Boxplots-Example', | |
width=500, | |
height=600) | |
fig = go.Figure(data=data,layout=layout) | |
pyo.plot(fig,filename='boxplot.html') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment