LatticeDrawStyle#
- class LatticeDrawStyle(pos=None, ax=None, with_labels=False, node_list=None, edge_list=None, node_size=300, node_color='#1f78b4', node_shape='o', alpha=None, cmap=None, vmin=None, vmax=None, linewidths=1.0, width=1.0, edge_color='k', edge_cmap=None, edge_vmin=None, edge_vmax=None, style='solid', labels=None, edge_labels=None, font_size=12, font_color='k', font_weight='normal', font_family='sans-serif', label=None, connectionstyle='arc3')[ソース]#
ベースクラス:
object
A stylesheet for lattice figure. Please see https://qiskit.org/documentation/rustworkx/stubs/rustworkx.visualization.mpl_draw.html#rustworkx.visualization.mpl_draw for each element.
Attributes
- node_color: str | Tuple[float, float, float] | List[str | Tuple[float, float, float] | Tuple[float, float, float, float]] = '#1f78b4'#
Methods