'Draw the axis lines, tick lines and labels'

@allow_rasterization
def draw(self, renderer):

    if (not self.get_visible()):
        return
    renderer.open_group(__name__)
    self._axis_artist_helper.update_lim(self.axes)
    dpi_cor = renderer.points_to_pixels(1.0)
    self.dpi_transform.clear().scale(dpi_cor, dpi_cor)
    self._draw_ticks(renderer)
    self._draw_line(renderer)
    self._draw_label(renderer)
    renderer.close_group(__name__)
