code: def test_display_vector_LinestringViz(display):
      """Assert that show calls the mocked display function when using data-join technique
      for LinestringViz.
      """
      data = [
          {"elevation": x, "weight": random.randint(0, 100)}
          for x in range(0, 21000, 10)
      ]
  
      viz = LinestringViz(
          data,
          vector_url="mapbox://mapbox.mapbox-terrain-v2",
          vector_layer_name="contour",
          vector_join_property="ele",
          data_join_property="elevation",
          color_property="elevation",
          color_stops=create_color_stops(
              [0, 50, 100, 500, 1500], colors="YlOrRd"
          ),
          line_width_property="weight",
          line_width_stops=create_numeric_stops(
              [0, 25, 50, 75, 100], 1, 6
          ),
          access_token=TOKEN,
      )
      viz.show()
      display.assert_called_once()
  
imports: import os
  import json
  import base64
  import random
  from mock import patch
  import pytest
  from mapboxgl.viz import *
  from mapboxgl.errors import TokenError, LegendError
  from mapboxgl.utils import create_color_stops, create_numeric_stops
  from matplotlib.pyplot import imread
label_desc: Use image node_id 28 for calling a global function with example usage: test_display_vector_LinestringViz(display) without return types