Skip to content

Fix matplotlib backend initialization in kernel to restore perfmonitor plots#3

Merged
elwer merged 2 commits intomainfrom
fix/plots
Feb 19, 2026
Merged

Fix matplotlib backend initialization in kernel to restore perfmonitor plots#3
elwer merged 2 commits intomainfrom
fix/plots

Conversation

@OutlyingWest
Copy link
Collaborator

  • Problem: JumperWrapperKernel loaded jumper_extension before IPKernelApp.init_gui_pylab set MPLBACKEND. The extension imports matplotlib.pyplot early (via visualizer.py), so Matplotlib locked onto a non-inline backend and
    figures fell back to text/plain (<Figure size ...>).
  • Change: Add the inline-backend safeguard (MPLBACKEND=module://matplotlib_inline.backend_inline) into _load_jumper_extension, ensuring it is set immediately before importing the extension.

Result: perfmonitor plots rendering issue fixed.

@github-actions
Copy link

@github-actions
Copy link

@elwer elwer merged commit 004d16b into main Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants