parameters: (self, ax, plot_thickness=1.0, cmin=None, cmax=None, cm=None,
               do_legend=True, **legend_kwargs)
docstring: Plots the data on the specified axis.
docstring_summary: Plots the data on the specified axis.
docstring_tokens: Plots the data on the specified axis .
function: def plot(self, ax, plot_thickness=1.0, cmin=None, cmax=None, cm=None,
               do_legend=True, **legend_kwargs):
          """Plots the data on the specified axis."""
          start_depths = np.asarray([d[0] for d in self.data[1:]])
          end_depths = np.asarray([d[1] for d in self.data[1:]])
          thickness = end_depths - start_depths
  
          if cmin is None or cmax is None:
              cmin = min(self.class_id)
              cmax = max(self.class_id)
  
          if cm is None:
              cm = plt.get_cmap('jet', len(self.unique_classes))
  
          draw1DColumn(ax, self.inline_pos[0], self.class_id, thickness,
                       ztopo=self.inline_pos[1], width=plot_thickness, cmin=cmin,
                       cmax=cmax, name=self.borehole_id, cmap=cm,
                       textoffset=self._textoffset)
  
          if do_legend:
              self.add_legend(ax, cm, **legend_kwargs)
function_tokens: def plot ( self , ax , plot_thickness = 1.0 , cmin = None , cmax = None , cm = None , do_legend = True , * * legend_kwargs ) : start_depths = np . asarray ( [ d [ 0 ] for d in self . data [ 1 : ] ] ) end_depths = np . asarray ( [ d [ 1 ] for d in self . data [ 1 : ] ] ) thickness = end_depths - start_depths if cmin is None or cmax is None : cmin = min ( self . class_id ) cmax = max ( self . class_id ) if cm is None : cm = plt . get_cmap ( 'jet' , len ( self . unique_classes ) ) draw1DColumn ( ax , self . inline_pos [ 0 ] , self . class_id , thickness , ztopo = self . inline_pos [ 1 ] , width = plot_thickness , cmin = cmin , cmax = cmax , name = self . borehole_id , cmap = cm , textoffset = self . _textoffset ) if do_legend : self . add_legend ( ax , cm , * * legend_kwargs )