def METHOD_NAME(self):
    self.previous_backend = Store.current_backend
    Store.current_backend = 'plotly'
    self.renderer = PlotlyRenderer.instance()
    self.nbcontext = Renderer.notebook_context
    self.comm_manager = Renderer.comm_manager
    with param.logging_level('ERROR'):
        Renderer.notebook_context = False
        Renderer.comm_manager = CommManager