code: def bar(self, serie, rescale=False):
          
          serie_node = self.svg.serie(serie)
          bars = self.svg.node(serie_node['plot'], class_="histbars")
          points = serie.points
  
          for i, (y, x0, x1) in enumerate(points):
              if None in (x0, x1, y) or (self.logarithmic and y <= 0):
                  continue
              metadata = serie.metadata.get(i)
  
              bar = decorate(
                  self.svg, self.svg.node(bars, class_='histbar'), metadata
              )
              val = self._format(serie, i)
  
              bounds = self._bar(
                  serie, bar, x0, x1, y, i, self.zero, secondary=rescale
              )
              self._tooltip_and_print_values(
                  serie_node, serie, bar, i, val, metadata, *bounds
              )
docs: Draw a bar graph for a serie