Skip to content

Fix asset optimization plotly#276

Merged
Mohammad-Tayyab-Frequenz merged 3 commits intofrequenz-floss:v0.x.xfrom
Mohammad-Tayyab-Frequenz:fix-asset-optimization-plotly
Mar 6, 2026
Merged

Fix asset optimization plotly#276
Mohammad-Tayyab-Frequenz merged 3 commits intofrequenz-floss:v0.x.xfrom
Mohammad-Tayyab-Frequenz:fix-asset-optimization-plotly

Conversation

@Mohammad-Tayyab-Frequenz
Copy link
Contributor

  • Refined asset optimization Plotly visuals and layout behavior for clarity and consistency.
image

Signed-off-by: Mohammad Tayyab <Mohammad.Tayyab@neustrom.de>
Signed-off-by: Mohammad Tayyab <Mohammad.Tayyab@neustrom.de>
Copilot AI review requested due to automatic review settings March 4, 2026 21:44
@github-actions github-actions bot added the part:docs Affects the documentation label Mar 4, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the Plotly-based visualizations used in the asset optimization reporting notebooks, improving layout/styling consistency and adjusting how certain series are rendered (notably PV/CHP stacking and monthly bar grouping).

Changes:

  • Introduce a shared Plotly styling configuration (fonts, hover labels, legend layout, axis styling) and apply it across figures.
  • Update the power-flow Plotly plot to stack PV on top of CHP using stackgroup.
  • Fix the monthly aggregation Plotly plot so bars group correctly by month.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
src/frequenz/lib/notebooks/reporting/asset_optimization/viz_plotly.py Updates Plotly layout defaults, legend behavior, PV/CHP stacking, subplot spacing, and monthly bar grouping.
RELEASE_NOTES.md Adds release notes entries describing the Plotly visualization refinements and monthly grouping fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Mohammad Tayyab <Mohammad.Tayyab@neustrom.de>
@Mohammad-Tayyab-Frequenz Mohammad-Tayyab-Frequenz force-pushed the fix-asset-optimization-plotly branch from d4aea6d to 8d50b3c Compare March 4, 2026 21:51
@Mohammad-Tayyab-Frequenz Mohammad-Tayyab-Frequenz requested a review from a team as a code owner March 4, 2026 21:51
Copy link
Contributor

@cwasicki cwasicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the picture above reflects the version of this PR, charge and discharge colors need to be more opaque. But I can also fix it subsequently.

@Mohammad-Tayyab-Frequenz Mohammad-Tayyab-Frequenz added this pull request to the merge queue Mar 6, 2026
Merged via the queue into frequenz-floss:v0.x.x with commit f4855a9 Mar 6, 2026
5 checks passed
@Mohammad-Tayyab-Frequenz Mohammad-Tayyab-Frequenz deleted the fix-asset-optimization-plotly branch March 6, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants