code: def test_raises_invalid_property_value(self):
      with self.assertRaises(ValueError):
          go.Figure(
              data=[{"type": "bar", "showlegend": "bad_value"}],
              layout={
                  "paper_bgcolor": "bogus_color",
                  "title": "Figure title",
              },
              frames=[
                  {
                      "data": [
                          {"type": "bar", "showlegend": "bad_value"}
                      ],
                      "layout": {
                          "bgcolor": "bad_color",
                          "title": "Figure title",
                      },
                  }
              ],
          )
  
imports: import plotly.graph_objects
  from plotly.subplots import make_subplots
  from plotly.tests.utils import TestCaseNoTemplate
  import pytest
label_desc: Use image node_id 7 for calling the FigureTest obj's underlying member method code with example usage: obj.test_raises_invalid_property_value() without return types