code: def test_gggrid_global_theme_override():
      # Set global setting!
      gg.LetsPlot.set_theme(gg.theme_grey())
  
      try:
          spec = gg.gggrid([gg.ggplot()]) + gg.theme_light()
      finally:
          # Clear global setting
          gg.LetsPlot.set({PLOT_THEME: None})
  
      assert "theme" in spec.as_dict()
      assert spec.as_dict()["theme"] == {"name": "light"}
  
      # Global theme should be stripped from the figure spec in grid
      fig = spec.as_dict()["figures"][0]
      assert fig["kind"] == "plot"  # Make sure it's a plot
      assert "theme" not in fig
  
file_path: lets-plot/python-package/test/plot/test_gggrid_theme.py
imports: import lets_plot
  from lets_plot._global_settings import PLOT_THEME
label_desc: Use image node_id 5 for calling a global function with example usage: test_gggrid_global_theme_override() without return types