class_docstr: Draw a heatmap plot of a matrix with nice labels and colormaps.
class_docstr_tok: ["Draw","a","heatmap","plot","of","a","matrix","with","nice","labels","and","colormaps","."]
docstr: Return ticks and labels at evenly spaced intervals.
docstr_tok: ["Return","ticks","and","labels","at","evenly","spaced","intervals","."]
code: def _skip_ticks(self, labels, tickevery):
      """Return ticks and labels at evenly spaced intervals."""
      n = len(labels)
      if tickevery == 0:
          ticks, labels = [], []
      elif tickevery == 1:
          ticks, labels = np.arange(n) + 0.5, labels
      else:
          start, end, step = 0, n, tickevery
          ticks = np.arange(start, end, step) + 0.5
          labels = labels[start:end:step]
      return ticks, labels
  
imports: import warnings
  import matplotlib
  from matplotlib.collections import LineCollection
  import matplotlib.pyplot
  from matplotlib import gridspec
  import numpy
  import pandas
  from .None import cm
  from .axisgrid import Grid
  from ._compat import get_colormap
  from .utils import despine, axis_ticklabels_overlap, relative_luminance, to_utf8, _draw_figure
label_desc: Use image node_id 4 for calling the _HeatMapper obj's underlying member method code with example usage: obj._skip_ticks(labels, tickevery) and returns: ticks,  labels