Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bliss bliss
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 577
    • Issues 577
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 156
    • Merge requests 156
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bliss
  • blissbliss
  • Merge requests
  • !3684

Fix blinking regulation plot legend

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Valentin Valls requested to merge valentin.valls/bliss:fix-plotlegend-blinking into master May 05, 2021
  • Overview 1
  • Commits 5
  • Pipelines 2
  • Changes 5

Closes #2743 (closed)

This MR fix the blinking of legend displayed by the plot of the regulation controller.

This was done by removing the fig.clear_data call.

This clear_data was only introduced as a work around for a memory leak created by matplotlib. It was subsequently fixed with a matplotlib monkey patch which is setup by Flint. As result clear_data can be removed without problem.

This MR also introduce a regulation mock to the demo session. So what people can play with.

Plus small fixes.

Edited May 05, 2021 by Valentin Valls
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-plotlegend-blinking