Module Import alias identifier Import alias identifier ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults BinOpDiv Num Num body Expr Str Return BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpDiv Num BinOpAdd AttributeLoad NameLoad attr Num NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr
N/A N/A numpy np N/A matplotlib.pyplot plt scipy stats N/A x1 N/A N/A np array N/A -7 -5 1 4 5 dtype float N/A x_eval N/A N/A np linspace -10 10 num 200 N/A kde1 N/A N/A stats gaussian_kde x1 N/A kde2 N/A N/A stats gaussian_kde x1 bw_method silverman my_kde_bandwidth N/A N/A obj fac N/A N/A 1.0 5 N/A N/A We use Scott's Rule, multiplied by a constant factor. N/A N/A N/A N/A np power N/A obj n N/A -1.0 N/A N/A obj d 4 fac N/A N/A fig N/A N/A plt figure N/A ax N/A N/A fig add_subplot 111 N/A N/A N/A ax plot x1 N/A N/A np zeros N/A x1 shape b+ ms 20 N/A kde3 N/A N/A stats gaussian_kde x1 bw_method my_kde_bandwidth N/A N/A N/A ax plot x_eval N/A kde3 x_eval g- label With smaller BW N/A N/A N/A plt show