You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to me to make more sense to implement a Plotter object that would be able to plot the objects occurring in Quantarhei, rather than implement plotting methods in individual classes.
Advantages:
the classes would not contain a difficult-to-test code (which the plotting part always is). All Matplotlib code would be concentrated into one class or subpackage.
One can remove the dependency of Quantarhei on Matplotlib (one dependence less is good)
In principle, this could also be an independent package.
I leave the issue open for now, but soon I will create a new issue to get rid of the Matplotlib dependency. I will also create a new project (something like QrheiPlotter, or QPlotter)
Use it in DFunction, CorrelationFunction, SpectralDensity and AbsSpectrum and other classes to control plotting.
The text was updated successfully, but these errors were encountered: