code: def number_validator(request):
      return NumberValidator("prop", "parent", array_ok=True)
  
file_path: plotly.py/packages/python/plotly/_plotly_utils/tests/validators/test_xarray_input.py
imports: import pytest
  import numpy
  import xarray
  import datetime
  from _plotly_utils.basevalidators import NumberValidator, IntegerValidator, DataArrayValidator, ColorValidator
label_desc: Use image node_id 3 for calling a global function with example usage: number_validator(request) and returns: NumberValidator