code: def __init__(self, nbins: int = 10):
      if nbins < 1:
          raise ValueError(
              "MaxNLocator nbins must be an integer greater than zero"
          )
      self.nbins = nbins
  
file_path: holoviews/holoviews/util/locator.py
imports: import math
  import numpy
label_desc: Use image node_id 1 to create a new MaxNLocator object  with example: obj = MaxNLocator(nbins)