plot_cycle_highlights

visualize.plot_cycle_highlights(
    sgraph,
    cycles_to_highlight,
    kwargs_highlight=dict(color='lightskyblue', opacity=0.3, alphahull=(-1), name='Aromatic ring highlight'),
)

Return Plotly mesh traces highlighting selected aromatic cycles on a structure graph.

Parameters

Name Type Description Default
sgraph the sgraph object required
isomorphic_aromatic_cycles a list of lists of node indices that are aromatic rings. If you don’t have this, you can set it to None and the function will try to find it for you required
highlight_color The color of the highlighted aromatic rings, defaults to lightskyblue (optional) required

Returns

Name Type Description
A tuple of the data_circle and ring_highlight_traces