code: def test_bar_background_style_options_remove_none():
      option = BarBackgroundStyleOpts()
      expected = {
          "color": "rgba(180, 180, 180, 0.2)",
          "borderColor": "#000",
          "borderWidth": 0,
          "borderType": "solid",
          "barBorderRadius": 0,
          "shadowOffsetX": 0,
          "shadowOffsetY": 0,
      }
      assert_equal(expected, remove_key_with_none_value(option.opts))
  
file_path: pyecharts/test/test_chart_options.py
imports: from nose.tools import assert_equal
  from pyecharts.commons.utils import remove_key_with_none_value
  from pyecharts.options.charts_options import BarBackgroundStyleOpts, GlobeLayersOpts, GraphCategory, ThemeRiverItem, TimelineCheckPointerStyle, TimelineControlStyle, TreeItem, TreeMapItemStyleOpts, GraphicImageStyleOpts, GraphicTextStyleOpts, GeoRegionsOpts
label_desc: Use image node_id 1 for calling a global function with example usage: test_bar_background_style_options_remove_none() without return types