code: def test_brush_options_remove_none():
      option = BrushOpts()
      expected = {
          "brushMode": "single",
          "brushStyle": {
              "borderColor": "rgba(120,140,180,0.8)",
              "borderWidth": 1,
              "color": "rgba(120,140,180,0.3)",
          },
          "brushType": "rect",
          "removeOnClick": True,
          "throttleDelay": 0,
          "throttleType": "fixRate",
          "toolbox": ["rect", "polygon", "keep", "clear"],
          "transformable": True,
          "z": 10000,
      }
      assert_equal(expected, remove_key_with_none_value(option.opts))
  
imports: from nose.tools import assert_equal
  from pyecharts.commons.utils import remove_key_with_none_value
  from pyecharts.options.global_options import AnimationOpts, AngleAxisItem, AngleAxisOpts, AriaLabelOpts, AriaDecalOpts, AxisTickOpts, CalendarYearLabelOpts, DatasetTransformOpts, InitOpts, ParallelAxisOpts, RadiusAxisItem, RadiusAxisOpts, ToolBoxFeatureBrushOpts, ToolBoxFeatureDataViewOpts, ToolBoxFeatureDataZoomOpts, ToolBoxFeatureMagicTypeOpts, ToolBoxFeatureOpts, ToolBoxFeatureRestoreOpts, ToolBoxFeatureSaveAsImageOpts, ToolboxOpts, BrushOpts, DataZoomOpts, LegendOpts, VisualMapOpts, TooltipOpts
label_desc: Use image node_id 7 for calling a global function with example usage: test_brush_options_remove_none() without return types