Closed patnr closed 3 years ago
I'd like to work on some existing issues but I think I need some clarifications.
I feel avoiding fignum conflict can be done in the Liveplot modules when it is defined from HMM.liveplotter
.
But requesting specific liveplotters via assimilate() then requires remembering these numbers. This is inelegant. It should be done by (fuzzy?) names instead.
However, this point seems to imply that you want to remove the requirement of specifying fignum and assign the liveplots
argument in assimilate()
with the capability of (fuzzy) name match.
Do I understand it correctly?
Indeed, I should have been more verbose.
Keeping the same persistent figure numbers for the liveplotters has served two functions:
HMM.liveplotters
) when running experiments, to only plot the selected ones.freshfig
function works quite well with pre-saved figure positions (on linux at least). This does not require specific figure numbers, but the positions are associated with a given fig number, so fig. number persistence is required.Those two functions should be kept somehow.
Then there are the two issues:
However, this point seems to imply that you want to remove the requirement of specifying fignum and assign the liveplots argument in assimilate() with the capability of (fuzzy) name match.
Yes, that's it.
HMM.liveplotters
is a 3-dim tuple. The second entry therein is a boolean, specifying whether the liveplotter is enabled by default. This is also a little inelegant and could also be improved.Closed by #63
For liveplotting, the figure numbers are assigned when defining the liveplots for the model. See
lorenz63/__init__.py
.This is fine. Except there might be conflicting numbers. E.g. with the defaults defined at the bottom of
liveplotting.py
.But requesting specific liveplotters via
assimilate()
then requires remembering these numbers. This is inelegant. It should be done by (fuzzy?) names instead.