code: def test_plot_invalid_args_1(self):
      with self.assertRaises(TypeError):
          py.plot(
              x=[1, 2, 3],
              y=[2, 1, 2],
              auto_open=False,
              filename="plot_invalid",
          )
  
imports: from __future__ import absolute_import
  import urllib
  import requests
  import sys
  import json
  import warnings
  import chart_studio.tools
  import plotly.tools
  from chart_studio import session
  from chart_studio.tests.utils import PlotlyTestCase
  from chart_studio.plotly import plotly
  from _plotly_utils.exceptions import PlotlyError, PlotlyEmptyDataError
  from chart_studio.files import CONFIG_FILE
label_desc: Use image node_id 4 for calling the TestPlot obj's underlying member method code with example usage: obj.test_plot_invalid_args_1() without return types