fix: allow showing beliefs for sensors with non-unique names #947
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
flexmeasures show beliefs
.flexmeasures show beliefs
, IDs can be toggled to always show in legend labels and column headers using the new flag--include-ids
.How to test
Trigger an error by passing ID 2 twice:
Include IDs in the plot's legend labels and the file's column headers, only in case of non-unique sensor names:
Always include IDs in labels and headers:
Related Items
Closes #867.
I checked the use of sensor names as dict keys, and found it only to be used by legacy FM code that has already been removed (analytics page, for example). Only 1 FM plugin that I know off is relying on this feature, for which I'll make a separate PR.