Installation & configuration¶
Installation¶
By running
pip install dymoval
or
conda install dymoval
everything should work fine.
Installation from the repo¶
Clone the repo from the_repo and run
cd /path/to/where/you/cloned/this/repo
conda env update --name env_name --file environment.yml
conda activate env_name
pip install .
or
cd /path/to/where/you/cloned/this/repo
pip install .
Configuration¶
The configuration of dymoval is fairly straightforward since there are only two parameters that you can set.
- num_decimals¶
- Type: intDefault: 4
Number of decimal digits. At the end of every function/method, dymoval round float numbers to a certain number of decimals.
- color_map¶
- Type: strDefault: “tab10”
The used matplotlib color map. Check Matplotlib docs for possible values.
These parameters can be set through a ~/.dymoval/config.toml
file.
You have to create such a file manually.
A ~/.dymoval/config.toml
could for example include the following content
num_decimals = 4
color_map = "tab20"
It is also suggested to have plt.ioff() in your script as interactive methods may create problems in different environments.