code: def test_get_figure_invalid_2(self):
      un = "PlotlyImageTest"
      ak = "786r5mecv0"
      url = "https://plotly.com/~PlotlyImageTest/-1/"
      py.sign_in(un, ak)
      with self.assertRaises(exceptions.PlotlyError):
          py.get_figure(url)
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_get_figure/test_get_figure.py
imports: from __future__ import absolute_import
  import _plotly_utils.exceptions
  from chart_studio import exceptions
  from chart_studio.plotly import plotly
  from chart_studio.tests.utils import PlotlyTestCase
label_desc: Use image node_id 4 for calling the GetFigureTest obj's underlying member method code with example usage: obj.test_get_figure_invalid_2() without return types