deltakit.explorer.codes.UnrotatedPlanarCode.draw_patch#
- UnrotatedPlanarCode.draw_patch(filename: str | None = None, unrotated_code: bool = True) None#
Draw a picture of the planar code, optionally saving it to a .png file.
- Parameters:
filename (str, optional) – Path to the file where to save the pictorial representation of the planar code stored in this class.