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')[source]#
Bases:
object
A stylesheet for lattice figure. Please see https://www.rustworkx.org/apiref/rustworkx.visualization.mpl_draw.html for each element.
Attributes
- node_color: str | Tuple[float, float, float] | List[str | Tuple[float, float, float] | Tuple[float, float, float, float]] = '#1f78b4'#
Methods