def __call__(self, *args, **kwargs):
        # First retrieve the scene, if any.
        if 'figure' in kwargs:
            figure = kwargs['figure']
            assert isinstance(figure, (Scene, None))
            scene = figure.scene
        else:
            scene = tools.gcf().scene
        if scene is not None:
            self._do_redraw = not scene.disable_render
            scene.disable_render = True
        # Then call the real logic
        output = self.__call_internal__(*args, **kwargs)
        # And re-enable the rendering, if needed.
        if scene is not None:
            scene.disable_render = not self._do_redraw
        return output
Generates a static HTML with the rendered object in the
dataset/ETHPy150Open enthought/mayavi/mayavi/tools/helper_functions.py/Pipeline.__call__--crossover with--dataset/ETHPy150Open ioam/holoviews/holoviews/plotting/renderer.py/Renderer.static_html