sgio.plot_sg_2d

sgio.plot_sg_2d(sg, model, ax, ec_mesh='0.5', fc_mesh='0.9', lw_mesh=0.2, **kwargs)

Plot a 2D structure gene.

Parameters:
sg : StructureGene

The 2D structure gene to be plotted.

model : dict

The model containing the information of the structure gene.

ax : matplotlib.axes.Axes

The axes object to plot on.

ec_mesh : str, optional

The edge color of the mesh. Default is ‘0.5’.

fc_mesh : str, optional

The face color of the mesh. Default is ‘0.9’.

lw_mesh : float, optional

The line width of the mesh. Default is 0.2.

**kwargs : dict, optional

Additional keyword arguments to pass to matplotlib plotting functions.