-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
issue present at least in plotly==5.11.0
and plotly==5.3.1
import plotly.figure_factory as ff
hist_data=[[1269.66463677171, 1012.56976942082, 1248.33444866415, 2072.38446283373, 1242.34632349397, 983.741020300988, 1585.29532947827, 2009.51764563168, 1480.07676462684, 930.525568677103, 1176.33924571021, 1682.08676271457, 1387.91725472597, 1329.48563773319, 1379.18841910105, 2127.83169958537, 1385.5762224412, 856.469014914059, 1376.4505741624, 2539.66709819706, 1346.3825483294, 953.320775540402, 1136.13566750428, 1792.68644541483],\
[1794.38125269685, 1184.68974564362, 2159.56183304568, 4451.42681765499, 2175.40668800218, 1232.74856938352, 2861.22727959865, 3774.23521025869, 2596.67861827751, 1133.18098239315, 2900.99041231726, 3872.75898144278, 2006.92691330766, 1321.62616568234, 2082.67453005456, 4563.15979223099, 1958.89248387657, 1039.64340011071, 2363.83687092187, 3773.51161275845, 1849.65075785192, 1035.8973792205, 2099.6885550133, 4618.93061443277]]
fig=ff.create_distplot(hist_data=hist_data, group_labels=['x', 'y'],curve_type="kde",show_hist=False,\
show_curve=True, show_rug=False,bin_size=1,histnorm="probability density")
fig.update_layout(template='plotly_white')
fig.update_xaxes(zeroline=False, showline=True, linewidth=1, linecolor="black", mirror=True)
fig.update_yaxes(zeroline=True, showline=True, linewidth=1, linecolor="black",mirror=True)