code: def test_colorscale_asymmetric_cmap(
      values, vmax, vmin, threshold, expected_vmin_vmax
  ):
      """Test colorscale with asymmetric cmap."""
      colors = colorscale(
          "jet",
          values,
          vmax=vmax,
          vmin=vmin,
          threshold=threshold,
          symmetric_cmap=False,
      )
      assert (min(values) < 0) | (not colors["symmetric_cmap"])
      assert colors["cmap"].N == 256
      assert (
          int(colors["vmin"]),
          int(colors["vmax"]),
      ) == expected_vmin_vmax
      assert (
          colors["norm"].vmax,
          colors["norm"].vmin,
      ) == expected_vmin_vmax[::-1]
  
imports: import base64
  import os
  import re
  import tempfile
  import numpy
  import pytest
  from nilearn.datasets import fetch_surf_fsaverage
  from nilearn.plotting.js_plotting_utils import add_js_lib, colorscale, decode, encode, get_html_template, mesh_to_plotly, to_color_strings
  from nilearn.surface import load_surf_mesh
label_desc: Use image node_id 9 for calling a global function with example usage: test_colorscale_asymmetric_cmap(values, vmax, vmin, threshold, expected_vmin_vmax) without return types