## skchem.vis.atom
Module for atom contribution visualization.
skchem.vis.atom.
plot_weights
(mol, weights, quality=1, l=0.4, step=50, levels=20, contour_opacity=0.5, cmap='RdBu', ax=None, **kwargs)[source]¶Plot weights as a sum of gaussians across a structure image.
Parameters: |
|
---|---|
Returns: | The plot. |
Return type: | matplotlib.AxesSubplot |
## skchem.vis.mol
Module for drawing molecules.
skchem.vis.mol.
draw
(mol, quality=1, ax=None)[source]¶Draw a molecule on a matplotlib axis.
Parameters: |
|
---|---|
Returns: | A matplotlib AxesImage object with the molecule drawn. |
Return type: | plt.AxesImage |
skchem.vis.mol.
draw_3d
(m, conformer_id=-1, label_atoms=None)[source]¶Draw a molecule in three dimensions.
Parameters: |
|
---|---|
Returns: | plt.figure |
Note
This works great in the notebook with %matplotlib notebook.
## skchem.vis
Module for plotting images of molecules.
skchem.vis.
draw
(mol, quality=1, ax=None)[source]¶Draw a molecule on a matplotlib axis.
Parameters: |
|
---|---|
Returns: | A matplotlib AxesImage object with the molecule drawn. |
Return type: | plt.AxesImage |
skchem.vis.
draw_3d
(m, conformer_id=-1, label_atoms=None)[source]¶Draw a molecule in three dimensions.
Parameters: |
|
---|---|
Returns: | plt.figure |
Note
This works great in the notebook with %matplotlib notebook.
skchem.vis.
plot_weights
(mol, weights, quality=1, l=0.4, step=50, levels=20, contour_opacity=0.5, cmap='RdBu', ax=None, **kwargs)[source]¶Plot weights as a sum of gaussians across a structure image.
Parameters: |
|
---|---|
Returns: | The plot. |
Return type: | matplotlib.AxesSubplot |