class_docstr: Rendering class for the 2D cutting env.
  
  The ``Cutting2DRenderer`` will show the selected piece (the maze_action) on the left,
  plus the current state of the inventory on the right
class_docstr_tok: ["Rendering","class","for","the","2D","cutting","env",".","The","``","Cutting2DRenderer","``","will","show","the","selected","piece","(","the","maze_action",")","on","the","left",",","plus","the","current","state","of","the","inventory","on","the","right"]
docstr: Draw the cutting lines.
  
  :param ordered_piece: Size of the ordered piece
  :param piece_to_cut: Piece which we are cutting
  :param reverse_cutting_order: If we should cut along Y axis first (instead of X first)
docstr_tok: ["Draw","the","cutting","lines",".",":","param","ordered_piece",":","Size","of","the","ordered","piece",":","param","piece_to_cut",":","Piece","which","we","are","cutting",":","param","reverse_cutting_order",":","If","we","should","cut","along","Y","axis","first","(","instead","of","X","first",")"]
code: def _draw_cutting_lines(
      ordered_piece: Tuple[int, int],
      piece_to_cut: Tuple[int, int],
      reverse_cutting_order: bool,
  ):
      """Draw the cutting lines.
  
      :param ordered_piece: Size of the ordered piece
      :param piece_to_cut: Piece which we are cutting
      :param reverse_cutting_order: If we should cut along Y axis first (instead of X first)
      """
  
      if reverse_cutting_order:
          h_x = (0, piece_to_cut[0])
          h_y = (ordered_piece[1], ordered_piece[1])
          v_x = (ordered_piece[0], ordered_piece[0])
          v_y = (0, ordered_piece[1])
      else:
          h_x = (0, ordered_piece[0])
          h_y = (ordered_piece[1], ordered_piece[1])
          v_x = (ordered_piece[0], ordered_piece[0])
          v_y = (0, piece_to_cut[1])
  
      plt.plot(h_x, h_y, color="black", linestyle="--")
      plt.plot(v_x, v_y, color="black", linestyle="--")
  
file_path: maze/tutorials/tutorial_maze_env/part02_renderer/env/renderer.py
imports: from typing import Tuple, Optional
  import numpy
  import matplotlib.patches
  import matplotlib.pyplot
  from maze.core.annotations import override
  from maze.core.log_events.step_event_log import StepEventLog
  from maze.core.rendering.renderer import Renderer
  from .maze_action import Cutting2DMazeAction
  from .maze_state import Cutting2DMazeState
label_desc: Use image node_id 6 for calling the Cutting2DRenderer obj's underlying member method code with example usage: obj._draw_cutting_lines(ordered_piece, piece_to_cut, reverse_cutting_order) without return types