code: def test_polygons_colored(self):
      polygons = NdOverlay(
          {
              j: Polygons(
                  [[(i**j, i, j) for i in range(10)]], vdims="Value"
              )
              for j in range(5)
          }
      )
      plot = mpl_renderer.get_plot(polygons)
      for j, splot in enumerate(plot.subplots.values()):
          artist = splot.handles["artist"]
          self.assertEqual(
              np.asarray(artist.get_array()), np.array([j])
          )
          self.assertEqual(artist.get_clim(), (0, 4))
  
imports: import numpy
  import pytest
  from holoviews.core import NdOverlay
  from holoviews.core.options import AbbreviatedException
  from holoviews.core.spaces import HoloMap
  from holoviews.element import Contours, Path, Polygons
  from .test_plot import TestMPLPlot, mpl_renderer
label_desc: Use image node_id 1 for calling the TestPolygonPlot obj's underlying member method code with example usage: obj.test_polygons_colored() without return types