code: def test_max_zoom(display, data):
      viz = HeatmapViz(
          data,
          weight_property="Avg Medicare Payments",
          weight_stops=[[10, 0], [100, 1]],
          color_stops=[[0, "red"], [0.5, "blue"], [1, "green"]],
          radius_stops=[[0, 1], [12, 30]],
          access_token=TOKEN,
          max_zoom=5,
      )
      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 30 for calling a global function with example usage: test_max_zoom(display, data) without return types