The Active Matter Evaluation Package (AMEP) - a Python library for the analysis of particle-based and continuum simulation data of soft and active matter systems
The call of the amep.plot.style() function is different for whether the goal is to set an amep style or the default matplotlib style. To make this functionality more user-friendly, the labels for the styles can be simplified and one added for the default matplotlib style.
The following changes would simplify the usage:
[x] "amep_latex" -> "latex"
[x] "amep_standard" -> "standard"
[x] mpl_default=True -> "matplotlib"
When updating the code in compliance with a minor release, please keep it backwards-compatible.
Additionally, prepare for a major release with the simplified call arguments by adding a note to the documentation:
.. note:: Deprecates in 2.0.0
`mpl_default` will be removed in an upcoming major release. Please use "matplotlib".
"amep_latex" and "amep_standard" will be removed. Please use "latex" and "standard" instead.
Proposed new feature or change:
The call of the
amep.plot.style()
function is different for whether the goal is to set an amep style or the default matplotlib style. To make this functionality more user-friendly, the labels for the styles can be simplified and one added for the default matplotlib style. The following changes would simplify the usage:When updating the code in compliance with a minor release, please keep it backwards-compatible. Additionally, prepare for a major release with the simplified call arguments by adding a note to the documentation: