code: def test_triplot_with_ls(fig_test, fig_ref):
      x = [0, 2, 1]
      y = [0, 0, 1]
      data = [[0, 1, 2]]
      fig_test.subplots().triplot(x, y, data, ls="--")
      fig_ref.subplots().triplot(x, y, data, linestyle="--")
  
imports: import numpy
  from numpy.testing import assert_array_equal, assert_array_almost_equal, assert_array_less
  import numpy.ma.testutils
  import pytest
  import matplotlib
  import matplotlib.pyplot
  import matplotlib.tri
  from matplotlib.path import Path
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
label_desc: Use image node_id 36 for calling a global function with example usage: test_triplot_with_ls(fig_test, fig_ref) without return types