code: def test_scale_linetype_manual_tuples():
      # linetype_manual accepts tuples as mapping results
      # this must be tested specifically.
      data = pd.DataFrame(
          {
              "x": [0, 1, 0, 1, 0, 1],
              "y": [0, 1, 0, 2, 0, 3],
              "lt": ["A", "A", "B", "B", "C", "C"],
          }
      )
  
      p = ggplot(data)
      p += geom_line(
          aes(x="x", y="y", ymax="y+1", linetype="lt", group="lt")
      )
      p += scale_linetype_manual(
          values=(
              (2, (5, 3, 1, 3)),
              (1, (10, 2)),
              (1, (1, 2)),
          )
      )
      assert p == "scale_linetype_manual_tuples"
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_scale_linetype_manual_tuples() without return types