5.54.6. extras.viewer.view_contour¶
- eminus.extras.viewer.view_contour(obj, field, axis=2, value=0.5, lines=10, limits=(-1, 1), zoom=1, linewidth=1, size=(600, 600))[source]¶
Display contour lines of field data like electronic densities.
Reference: https://plotly.com/python
- Parameters:
obj – Atoms or SCF object.
field – Real-space field data.
- Keyword Arguments:
axis – Axis to slice through.
value: – Slice value scaled by the axis size.:
lines – Number of contour lines.
limits – Minimal and maximal truncation values for the field data.
zoom – Initial zoom.
linewidth – Contour line width.
size – Widget size.
- Returns:
Viewable object.