@@ -415,7 +415,7 @@ def _get_linear_selector_init_args(self, padding, **kwargs):
415415 def _add_plot_area_hook (self , plot_area ):
416416 self ._plot_area = plot_area
417417
418- def _set_feature (self , feature : str , new_data : Any , indices : Any ):
418+ def set_feature (self , feature : str , new_data : Any , indices : Any ):
419419 # if single value force to be an array of size 1
420420 if isinstance (indices , (np .integer , int )):
421421 indices = np .array ([indices ])
@@ -429,7 +429,7 @@ def _set_feature(self, feature: str, new_data: Any, indices: Any):
429429 if self ._previous_data [feature ].indices == indices :
430430 return # nothing to change, and this allows bidirectional linking without infinite recursion
431431
432- self ._reset_feature (feature )
432+ self .reset_feature (feature )
433433
434434 # coll_feature = getattr(self[indices], feature)
435435
@@ -455,7 +455,7 @@ def _set_feature(self, feature: str, new_data: Any, indices: Any):
455455 # since calling `feature._set()` triggers all the feature callbacks
456456 feature_instance ._set (new_data )
457457
458- def _reset_feature (self , feature : str ):
458+ def reset_feature (self , feature : str ):
459459 if feature not in self ._previous_data .keys ():
460460 return
461461
0 commit comments