code: def fig1(request):
      return go.Figure(
          data=[
              {"type": "scattergl", "marker": {"color": "green"}},
              {
                  "type": "parcoords",
                  "dimensions": [
                      {"values": [1, 2, 3]},
                      {"values": [3, 2, 1]},
                  ],
                  "line": {"color": "blue"},
              },
          ],
          layout={"title": "Figure title"},
      )
  
imports: import plotly.graph_objs
  import plotly.io
  import pytest
  import plotly
  import json
  import os
  import tempfile
  from unittest.mock import MagicMock
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: fig1(request) and returns: go