Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lhc-sm-hwc
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCData
lhc-sm-hwc
Merge requests
!160
[
SIGMON-549
] migrate to matplotlib widgets
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Simon Mazenoux
requested to merge
SIGMON-549_migrate_to_matplotlib_widgets
into
dev
1 year ago
Overview
2
Commits
1
Pipelines
3
Changes
64
Expand
Context
Our Jupyter notebook from the 'legacy' backend_nbagg backend provided by Matplotlib (invoked with the magic command
%matplotlib notebook
)
No support for interactive plots in VS Code (see
https://github.com/microsoft/vscode-jupyter/wiki/Using-%25matplotlib-widget-instead-of-%25matplotlib-notebook,tk,etc
)
Issue causing the Matplotlib version to be frozen (see
https://swan-community.web.cern.ch/t/bug-in-interactive-matplotlib-plots-in-swan-notebooks/419
)
What was done
Replace
% matplotlib notebook
by
% matplotlib widget
Test in SWAN that the new backend works
Check with Zinur that the functionality offered was the same
Remove the fixed version for Matplotlib
Change the CI test to match the new SWAN package versions
TODO
?
QA
code was not unit tested, because...
acceptance tests were written
Review objectives
assessment of code functionality
assessment of code quality
0
0
Merge request reports
Activity
All activity
Filter activity
Deselect all
Approvals
Assignees & reviewers
Comments (from bots)
Comments (from users)
Commits & branches
Edits
Labels
Lock status
Mentions
Merge request status
Tracking
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Please
register
or
sign in
to reply
Loading