code: def test_skip_invalid_property_name(self):
      fig = go.Figure(
          data=[{"type": "bar", "bogus": 123}],
          layout={"bogus": 23, "title": {"text": "Figure title"}},
          frames=[
              {
                  "data": [{"type": "bar", "bogus": 123}],
                  "layout": {"bogus": 23, "title": "Figure title"},
              }
          ],
          bogus=123,
          skip_invalid=True,
      )
  
      fig_dict = fig.to_dict()
  
      # Remove trace uid property
      for trace in fig_dict["data"]:
          trace.pop("uid", None)
  
      self.assertEqual(fig_dict["data"], [{"type": "bar"}])
      self.assertEqual(
          fig_dict["layout"], {"title": {"text": "Figure title"}}
      )
      self.assertEqual(
          fig_dict["frames"],
          [
              {
                  "data": [{"type": "bar"}],
                  "layout": {"title": {"text": "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 6 for calling the FigureTest obj's underlying member method code with example usage: obj.test_skip_invalid_property_name() without return types