cirq.TextDiagramDrawer.write¶
-
TextDiagramDrawer.write(x: int, y: int, text: str, transposed_text: str = None)[source]¶ Adds text to the given location.
Parameters: - x – The column in which to write the text.
- y – The row in which to write the text.
- text – The text to write at location (x, y).
- transposted_text – Optional text to write instead, if the text diagram is transposed.