code: def test_dim_cmap():
      # This is only a smoke test
      mpl.use("svg")
      import matplotlib.pyplot as plt
  
      dim_cmap(plt.cm.jet)
  
imports: import pytest
  from ..cm import dim_cmap, replace_inside
label_desc: Use image node_id 1 for calling a global function with example usage: test_dim_cmap() without return types