@@ -77,7 +77,6 @@ def __init__(self, x, width, padding, freqs, colors, stacked, expanded,
7777 self .padding = padding
7878 self .stacked = stacked
7979 self .expanded = expanded
80- self .__picture = None
8180 self .polygon = None
8281 self .hovered = False
8382 self ._tooltip = tooltip
@@ -498,6 +497,7 @@ def _on_hide_bars_changed(self):
498497 self .plot .update ()
499498
500499 def _set_smoothing_visibility (self ):
500+ # false positive, pylint: invalid-sequence-index
501501 self .smoothing_box .setDisabled (
502502 self .Fitters [self .fitted_distribution ][1 ] is not AshCurve )
503503
@@ -791,6 +791,7 @@ def str_params():
791791
792792 if not y .size :
793793 return None , None
794+ # false positive, pylint: invalid-sequence-index
794795 _ , dist , names , str_names = self .Fitters [self .fitted_distribution ]
795796 fitted = dist .fit (y )
796797 params = dict (zip (names , fitted ))
@@ -803,6 +804,7 @@ def _plot_approximations(self, x0, x1, fitters, colors, prior_probs):
803804 for y , (fitter , _ ) in zip (ys , fitters ):
804805 if fitter is None :
805806 continue
807+ # false positive, pylint: invalid-sequence-index
806808 if self .Fitters [self .fitted_distribution ][1 ] is AshCurve :
807809 y [:] = fitter (x , sigma = (22 - self .kde_smoothing ) / 40 )
808810 else :
@@ -1226,6 +1228,7 @@ def _get_output_indices_cont(self):
12261228 return group_indices , values
12271229
12281230 def _get_histogram_table (self ):
1231+ # bar is OK; pylint: disable=isallowed-name
12291232 var_bin = DiscreteVariable ("Bin" , [bar .desc for bar in self .bar_items ])
12301233 var_freq = ContinuousVariable ("Count" )
12311234 X = []
0 commit comments