code: def test_theme_options_should_be_merged():
      spec = (
          gg.ggplot()
          + _geom("foo")
          + theme(axis_tooltip="blank")
          + theme(legend_position="bottom")
      )
      expected_theme = {
          "axis_tooltip": "blank",
          "legend_position": "bottom",
      }
      assert expected_theme == spec.as_dict()["theme"]
  
imports: import lets_plot
  from lets_plot import element_blank
  from lets_plot import element_rect
  from lets_plot.plot import theme
  from lets_plot.plot.geom import _geom
  from lets_plot.plot.theme_set import theme_classic, flavor_darcula, flavor_solarized_dark
label_desc: Use image node_id 1 for calling a global function with example usage: test_theme_options_should_be_merged() without return types