code: def test_vis_semantic_segmentation(self):
      ax, legend_handles = vis_semantic_segmentation(
          self.img,
          self.label,
          label_names=self.label_names,
          label_colors=self.label_colors,
          all_label_names_in_legend=self.all_label_names_in_legend,
      )
  
      self.assertIsInstance(ax, matplotlib.axes.Axes)
      for handle in legend_handles:
          self.assertIsInstance(handle, matplotlib.patches.Patch)
  
file_path: chainercv/tests/visualizations_tests/test_vis_semantic_segmentation.py
imports: import numpy
  import unittest
  from chainer import testing
  from chainercv.visualizations import vis_semantic_segmentation
label_desc: Use image node_id 2 for calling the TestVisSemanticSegmentation obj's underlying member method code with example usage: obj.test_vis_semantic_segmentation() without return types