code: def dates_array(request):
      return np.array(
          [
              datetime(year=2013, month=10, day=10),
              datetime(year=2013, month=11, day=10),
              datetime(year=2013, month=12, day=10),
              datetime(year=2014, month=1, day=10),
              datetime(year=2014, month=2, day=10),
          ]
      )
  
imports: import pytest
  import numpy
  import pandas
  from datetime import datetime
  from _plotly_utils.basevalidators import NumberValidator, IntegerValidator, DataArrayValidator, ColorValidator
label_desc: Use image node_id 10 for calling a global function with example usage: dates_array(request) and returns: np