Source code for quantify_scheduler.schedules._visualization.constants

# Repository: https://gitlab.com/quantify-os/quantify-scheduler
# Licensed according to the LICENCE file on the main branch
"""Constants used for drawing figures."""


# draw circuit diagram mpl color scheme
[docs] COLOR_BLUE = "#5296dd"
[docs] COLOR_LAZURE = "#92bddf"
[docs] COLOR_GREY = "#d7d7d7"
[docs] COLOR_ORANGE = "#ff6314"
[docs] COLOR_DARK_MODE_LINE = "0.1"
# draw circuit diagram mpl scaling
[docs] METER_WEDGE_ANGLE = 50
[docs] METER_WEDGE_RADIUS = 0.4
[docs] METER_WEDGE_HEIGHT_SCALING = 1.40
[docs] METER_ARROW_ANGLE = 70
[docs] METER_ARROW_HEIGHT_SCALING = 3.0
[docs] ACQ_METER_LINEWIDTH = 0.5
[docs] CTRL_FLOW_ARROW_LINEWIDTH = 2