flexmeasures icon indicating copy to clipboard operation
flexmeasures copied to clipboard

CLI: show beliefs does not handle NaN well

Open nhoening opened this issue 2 years ago • 1 comments

If I plot a time span with NaN values in the database I get a not very informative error:

uniplot/options.py", line 52, in __post_init__
    assert self.y_max > self.y_min

Originally posted by @Flix6x in https://github.com/FlexMeasures/flexmeasures/pull/379#discussion_r816344558

nhoening avatar Mar 08 '22 15:03 nhoening

uniplot==0.7.0 resolves this issue, see https://github.com/olavolav/uniplot/issues/13. I've already implemented something that uses this latest uniplot release, and also makes sure that time series align when plotting multiple sensors with missing values. Will make a PR soon.

Flix6x avatar Oct 03 '22 20:10 Flix6x