@@ -5081,7 +5081,7 @@ def make_hist(self):
5081
5081
x = self .hist_data [index ],
5082
5082
xaxis = 'x1' ,
5083
5083
yaxis = 'y1' ,
5084
- histnorm = 'probability' ,
5084
+ histnorm = 'probability density ' ,
5085
5085
name = self .group_labels [index ],
5086
5086
legendgroup = self .group_labels [index ],
5087
5087
marker = dict (color = self .colors [index ]),
@@ -5108,7 +5108,7 @@ def make_kde(self):
5108
5108
self .curve_y [index ] = (scipy .stats .gaussian_kde
5109
5109
(self .hist_data [index ])
5110
5110
(self .curve_x [index ]))
5111
- self .curve_y [index ] *= self .bin_size [index ]
5111
+ # self.curve_y[index] *= self.bin_size[index]
5112
5112
5113
5113
for index in range (self .trace_number ):
5114
5114
curve [index ] = dict (type = 'scatter' ,
@@ -5143,7 +5143,7 @@ def make_normal(self):
5143
5143
/ 500 for x in range (500 )]
5144
5144
self .curve_y [index ] = scipy .stats .norm .pdf (
5145
5145
self .curve_x [index ], loc = mean [index ], scale = sd [index ])
5146
- self .curve_y [index ] *= self .bin_size [index ]
5146
+ # self.curve_y[index] *= self.bin_size[index]
5147
5147
5148
5148
for index in range (self .trace_number ):
5149
5149
curve [index ] = dict (type = 'scatter' ,
@@ -5621,4 +5621,3 @@ def make_table_annotations(self):
5621
5621
font = dict (color = font_color ),
5622
5622
showarrow = False ))
5623
5623
return annotations
5624
-
0 commit comments