code: def test_image_range_masked(self):
      arr = np.random.rand(10, 10) - 0.5
      arr = np.ma.masked_where(arr <= 0, arr)
      rrange = Image(arr).range(2)
      self.assertEqual(rrange, (np.min(arr), np.max(arr)))
  
file_path: holoviews/holoviews/tests/element/test_image.py
imports: import numpy
  import holoviews
  from holoviews.element import Curve, Image
  from ..utils import LoggingComparisonTestCase
label_desc: Use image node_id 5 for calling the TestImage obj's underlying member method code with example usage: obj.test_image_range_masked() without return types