code: def removeActor(self, a):
          
          if not self.initializedPlotter:
              save_int = self.interactive
              self.show(interactive=0)
              self.interactive = save_int
              return
          if self.renderer:
              self.renderer.RemoveActor(a)
              if hasattr(a, 'renderedAt'):
                  ir = self.renderers.index(self.renderer)
                  a.renderedAt.discard(ir)
          if a in self.actors:
              i = self.actors.index(a)
              del self.actors[i]
docs: Remove ``vtkActor`` or actor index from current renderer.