Closed stefsmeets closed 1 month ago
This PR adds a user option to choose the backend for plotting.
The implementation is based on a decorator that strips the backend from the argument list and passes the plotting module (plots.matplotlib or plots.plotly) to the plotting method.
trajectory.plot_displacement_per_atom() # default backend trajectory.plot_displacement_per_atom(backend='matplotlib') trajectory.plot_displacement_per_atom(backend='plotly')
Closes #319
This PR adds a user option to choose the backend for plotting.
The implementation is based on a decorator that strips the backend from the argument list and passes the plotting module (plots.matplotlib or plots.plotly) to the plotting method.
Closes #319
Todo