Plotting
For some classes we provide simple plotting built using PyVista. This is also used under the hood by our GUI. Plotting is currently limited to only a small set of BaderKit classes. For those that have been implemented, you can quickly access the plotter with the to_plotter() method. For example, with the Bader class you may do the following.
from baderkit import Bader
bader = Bader.from_vasp()
plotter = bader.to_plotter()
This will run the Bader analysis and open a simple plotting window displaying a VTK plot of your object similar to below. The plotter can then be updated directly by changing its class properties. For more details see our plotting tutorial and Plotting API
Implemented Plotters¶
| Class Name | Implemented |
|---|---|
| Structure | |
| Grid | |
| Bader | |
| Badelf | |
| ElfLabeler | |
| ElfRadii | |
| BasinOverlap |