original_docstring: Draws grid lines within spines box.
docstring: Draws grid lines within spines box.
docstring_tokens: Draws grid lines within spines box .
code: def _draw_grid(self) -> None:
          """Draws grid lines within spines box."""
          for x_index in self.grid.x_major_ticks:
              line_coords = self.grid.get_x_line_coords(x_index)
  
              self.draw.line(
                  xy=line_coords,
                  fill=self.theme.grid_line_color,
                  width=self.theme.grid_line_width
              )
  
          for y_index in self.grid.y_major_ticks:
              line_coords = self.grid.get_y_line_coords(y_index)
  
              self.draw.line(
                  xy=line_coords,
                  fill=self.theme.grid_line_color,
                  width=self.theme.grid_line_width
              )
code_tokens: def _draw_grid ( self ) -> None : for x_index in self . grid . x_major_ticks : line_coords = self . grid . get_x_line_coords ( x_index ) self . draw . line ( xy = line_coords , fill = self . theme . grid_line_color , width = self . theme . grid_line_width ) for y_index in self . grid . y_major_ticks : line_coords = self . grid . get_y_line_coords ( y_index ) self . draw . line ( xy = line_coords , fill = self . theme . grid_line_color , width = self . theme . grid_line_width )
short_docstring: Draws grid lines within spines box.
short_docstring_tokens: Draws grid lines within spines box .
comment: """Draws grid lines within spines box."""