code: def _get_num_minor_ticks(
      axis_class: type[Axis],
      num_minor_ticks: int | Literal["auto"] | None,
  ) -> int:
      if isinstance(num_minor_ticks, int):
          if num_minor_ticks <= 1:
              raise ValueError("num_minor_ticks must be > 1")
          return num_minor_ticks
      if num_minor_ticks is None:
          return 0
      if num_minor_ticks == "auto":
          if axis_class is LogAxis:
              return 10
          return 5
  
file_path: bokeh/src/bokeh/plotting/_plot.py
imports: from __future__ import annotations
  import logging
  from collections.abc import Sequence
  from typing import TYPE_CHECKING, Any, Literal
  import numpy
  from ..core.properties import Datetime
  from ..core.property.singletons import Intrinsic
  from ..models import Axis, CategoricalAxis, CategoricalScale, ContinuousTicker, DataRange1d, DatetimeAxis, FactorRange, Grid, LinearAxis, LinearScale, LogAxis, LogScale, MercatorAxis, Range, Range1d, Scale
label_desc: Use image node_id 5 for calling a global function with example usage: _get_num_minor_ticks(axis_class, num_minor_ticks) and returns: num_minor_ticks, int, int, int