GEMDAT-repos / GEMDAT

Python toolkit for molecular dynamics analysis
https://gemdat.readthedocs.io
Apache License 2.0
21 stars 3 forks source link

Refactor 3d plots module #284

Closed stefsmeets closed 3 months ago

stefsmeets commented 3 months ago

This PR revises the plot submodule and creates a single interface for all 3d plots: plots.plot_3d(). plots.density() and plots.jumps_3d() use the new function.

plots.plot_3d(structure=structure)
plots.plot_3d(jumps=jumps, structure=jumps.sites)
plots.plot_3d(paths=paths, volume=volume)
plots.plot_3d(volume=volume, structure=structure, lattice=volume.lattice)