@@ -307,10 +307,10 @@ def disable_picking(self):
307307
308308    def  show (
309309        self ,
310-         object : Any  =  None ,
310+         plottable_object : Any  =  None ,
311311        screenshot : Optional [str ] =  None ,
312312        view_2d : Dict  =  None ,
313-         filter : str  =  None ,
313+         name_filter : str  =  None ,
314314        ** plotting_options ,
315315    ) ->  List [Any ]:
316316        """Plot and show any PyAnsys object. 
@@ -320,13 +320,13 @@ def show(
320320
321321        Parameters 
322322        ---------- 
323-         object  : Any, default: None 
323+         plottable_object  : Any, default: None 
324324           Object or list of objects to plot. 
325325        screenshot : str, default: None 
326326            Path for saving a screenshot of the image that is being represented. 
327327        view_2d : Dict, default: None 
328328            Dictionary with the plane and the viewup vectors of the 2D plane. 
329-         filter  : str, default: None 
329+         name_filter  : str, default: None 
330330            Regular expression with the desired name or names to include in the plotter. 
331331        **plotting_options : dict, default: None 
332332            Keyword arguments. For allowable keyword arguments, see the 
@@ -338,7 +338,7 @@ def show(
338338            List with the picked bodies in the picked order. 
339339
340340        """ 
341-         self .plot (object ,  filter , ** plotting_options )
341+         self .plot (plottable_object ,  name_filter , ** plotting_options )
342342        if  self ._pl ._object_to_actors_map :
343343            self ._object_to_actors_map  =  self ._pl ._object_to_actors_map 
344344        else :
@@ -363,14 +363,14 @@ def show(
363363        self .show_plotter (screenshot )
364364
365365        picked_objects_list  =  []
366-         if  isinstance (object , list ):
366+         if  isinstance (plottable_object , list ):
367367            # Keep them ordered based on picking 
368368            for  meshobject  in  self ._picked_list :
369-                 for  elem  in  object :
369+                 for  elem  in  plottable_object :
370370                    if  hasattr (elem , "name" ) and  elem .name  ==  meshobject .name :
371371                        picked_objects_list .append (elem )
372-         elif  hasattr (object , "name" ) and  object  in  self ._picked_list :
373-             picked_objects_list  =  [object ]
372+         elif  hasattr (plottable_object , "name" ) and  plottable_object  in  self ._picked_list :
373+             picked_objects_list  =  [plottable_object ]
374374
375375        return  picked_objects_list 
376376
@@ -395,14 +395,14 @@ def show_plotter(self, screenshot: Optional[str] = None) -> None:
395395        pv .OFF_SCREEN  =  self ._pv_off_screen_original 
396396
397397    @abstractmethod  
398-     def  plot_iter (self , object : Any , filter : str  =  None , ** plotting_options ):
398+     def  plot_iter (self , plottable_object : Any , name_filter : str  =  None , ** plotting_options ):
399399        """Plot one or more compatible objects to the plotter. 
400400
401401        Parameters 
402402        ---------- 
403-         object  : Any 
403+         plottable_object  : Any 
404404            One or more objects to add. 
405-         filter  : str, default: None. 
405+         name_filter  : str, default: None. 
406406            Regular expression with the desired name or names  to include in the plotter. 
407407        **plotting_options : dict, default: None 
408408            Keyword arguments. For allowable keyword arguments, see the 
@@ -412,14 +412,14 @@ def plot_iter(self, object: Any, filter: str = None, **plotting_options):
412412        pass 
413413
414414    @abstractmethod  
415-     def  plot (self , object : Any , filter : str  =  None , ** plotting_options ):
415+     def  plot (self , plottable_object : Any , name_filter : str  =  None , ** plotting_options ):
416416        """Plot a single object to the plotter. 
417417
418418        Parameters 
419419        ---------- 
420-         object  : Any 
420+         plottable_object  : Any 
421421            Object to add. 
422-         filter  : str 
422+         name_filter  : str 
423423            Regular expression with the desired name or names to include in the plotter. 
424424        **plotting_options : dict, default: None 
425425            Keyword arguments. For allowable keyword arguments, see the 
@@ -458,7 +458,7 @@ def __init__(
458458    def  plot_iter (
459459        self ,
460460        plotting_list : List [Any ],
461-         filter : str  =  None ,
461+         name_filter : str  =  None ,
462462        ** plotting_options ,
463463    ) ->  None :
464464        """Plot the elements of an iterable of any type of object to the scene. 
@@ -470,33 +470,33 @@ def plot_iter(
470470        ---------- 
471471        plotting_list : List[Any] 
472472            List of objects to plot. 
473-         filter  : str, default: None 
473+         name_filter  : str, default: None 
474474            Regular expression with the desired name or names to include in the plotter. 
475475        **plotting_options : dict, default: None 
476476            Keyword arguments. For allowable keyword arguments, see the 
477477            :meth:`Plotter.add_mesh <pyvista.Plotter.add_mesh>` method. 
478478
479479        """ 
480-         for  object  in  plotting_list :
481-             self .plot (object ,  filter , ** plotting_options )
480+         for  plottable_object  in  plotting_list :
481+             self .plot (plottable_object ,  name_filter , ** plotting_options )
482482
483-     def  plot (self , object : Any , filter : str  =  None , ** plotting_options ):
483+     def  plot (self , plottable_object : Any , name_filter : str  =  None , ** plotting_options ):
484484        """Plot a ``pyansys`` or ``PyVista`` object to the plotter. 
485485
486486        Parameters 
487487        ---------- 
488-         object  : Any 
488+         plottable_object  : Any 
489489            Object to add. 
490-         filter  : str 
490+         name_filter  : str 
491491            Regular expression with the desired name or names to include in the plotter. 
492492        **plotting_options : dict, default: None 
493493            Keyword arguments. For allowable keyword arguments, see the 
494494            :meth:`Plotter.add_mesh <pyvista.Plotter.add_mesh>` method. 
495495
496496        """ 
497-         if  hasattr (object , "__iter__" ):
497+         if  hasattr (plottable_object , "__iter__" ):
498498            logger .debug ("Plotting objects in list..." )
499-             self .pv_interface .plot_iter (object ,  filter , ** plotting_options )
499+             self .pv_interface .plot_iter (plottable_object ,  name_filter , ** plotting_options )
500500        else :
501-             self .pv_interface .plot (object ,  filter , ** plotting_options )
501+             self .pv_interface .plot (plottable_object ,  name_filter , ** plotting_options )
502502
0 commit comments