nanomesh.plotting

Module containing mesh plots.

Classes:

PolygonSelectorWithSnapping(*args[,Β snap_to])

Select a polygon region of an axes with snapping to points.

Functions:

pointsplot(mesh[,Β key,Β ax])

Plot mesh points.

class nanomesh.plotting.PolygonSelectorWithSnapping(*args, snap_to: Optional[ndarray] = None, **kwargs)[source]

Bases: PolygonSelector

Select a polygon region of an axes with snapping to points.

For usage details see matplotlib.widgets.PolygonSelector

Parameters
nanomesh.plotting.pointsplot(mesh: MeshContainer, key: str = None, ax: plt.Axes = None, **kwargs) plt.Axes[source]

Plot mesh points.

Parameters
Return type

matplotlib.axes.Axes