code: def test_append_trace_col_out_of_range():
      trace = Scatter(x=[1, 2, 3], y=[2, 3, 4])
      fig = tls.make_subplots(rows=2, cols=3)
      with pytest.raises(Exception):
          fig.append_trace(trace, 2, 0)
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_append_trace.py
imports: import pytest
  from plotly.graph_objs import Data, Figure, Layout, Scatter, Scatter3d, Scene, XAxis, YAxis
  from plotly.tests.utils import strip_dict_params
  import plotly.tools
  import copy
label_desc: Use image node_id 4 for calling a global function with example usage: test_append_trace_col_out_of_range() without return types