code: def test_show_with_explicit_args(
      mock__show_with_state: MagicMock,
  ) -> None:
      curstate().reset()
      kwargs = dict(browser="browser", new="new", notebook_handle=True)
      p = Plot()
      bis.show(p, **kwargs)
      assert mock__show_with_state.call_count == 1
      assert mock__show_with_state.call_args[0] == (
          p,
          curstate(),
          "browser",
          "new",
      )
      assert mock__show_with_state.call_args[1] == {
          "notebook_handle": True
      }
      assert curdoc().roots == []
  
file_path: bokeh/tests/unit/bokeh/io/test_showing.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock, Mock, patch
  from bokeh.application.application import Application
  from bokeh.io.doc import curdoc
  from bokeh.io.output import output_notebook
  from bokeh.io.state import State, curstate
  from bokeh.models import ColumnDataSource, GlyphRenderer, Plot
  import bokeh.io.showing
label_desc: Use image node_id 2 for calling a global function with example usage: test_show_with_explicit_args(mock__show_with_state) without return types