code: def test_gggrid_theme_flavor_as_array():
      spec = gg.gggrid([gg.ggplot()]) + (
          gg.theme_grey() + gg.flavor_darcula()
      )
      assert "theme" in spec.as_dict()
      assert spec.as_dict()["theme"] == {
          "name": "grey",
          "flavor": "darcula",
      }
  
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 4 for calling a global function with example usage: test_gggrid_theme_flavor_as_array() without return types