Generate a Python code to find the minimum and maximum of a given array of integers.
[-5, -2, -6, 0, -1]
def get_min_max(numbers):
  minimum = min(numbers)
  maximum = max(numbers)
  return minimum, maximum