bloqade.visual.animation.base.RowRegionGateArtist
← Module overview
class
method
sourcemethod
method
sourcemethod
classRowRegionGateArtist¶source
bloqade.visual.animation.base.RowRegionGateArtist
Bases: GateArtist
A row region gate artist object.
Signature
class RowRegionGateArtist(mpl_ax: Any, xmin, width, ymin, ymin_keepout, ymax, ymax_keepout, color)bound box is [y_origin - width/2, y_origin + width/2]
Parameters
| Name | Type | Description |
|---|---|---|
mpl_ax | Any | |
xmin | — | |
width | — | |
ymin | — | |
ymin_keepout | — | |
ymax | — | |
ymax_keepout | — | |
color | — |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
mpl_obj | mpatches.Rectangle | rc | |
mpl_obj_keepout_top | mpatches.Rectangle | rc_top | |
mpl_obj_keepout_btm | mpatches.Rectangle | rc_btm | |
width | float | width | |
xmin | float | xmin |
methodclear_data¶source
bloqade.visual.animation.base.RowRegionGateArtist.clear_data
def clear_data() -> Nonemethodget_artists¶source
bloqade.visual.animation.base.RowRegionGateArtist.get_artists
methodupdate_data¶source
bloqade.visual.animation.base.RowRegionGateArtist.update_data
def update_data(ymin, ymax, ymin_keepout, ymax_keepout)Parameters
| Name | Type | Description |
|---|---|---|
ymin | — | |
ymax | — | |
ymin_keepout | — | |
ymax_keepout | — |
methodset_visible¶source
bloqade.visual.animation.base.RowRegionGateArtist.set_visible