code: def test_plot_empty_data(self):
      self.assertRaises(
          PlotlyEmptyDataError, py.plot, [], 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 6 for calling the TestPlot obj's underlying member method code with example usage: obj.test_plot_empty_data() without return types