Looking around a bit more at the output of the notebook, I saw that while there are no errors, there were warnings, one of which was
“Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at… >”
This caught my attention because the non-interactivity suggests that the event loop for the notebook widgets is broken somewhere.
This was preceded by a notice, that didn’t even reach “warning” level,
“Skipped non-installed server(s): basedpyright, bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyrefly, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server”
This all led me to this thread:
Some people in that thread linked this to matplotlib interaction.
It seems from reading this thread that a fix was never found that worked for everyone, and even the fix that worked for the most people again involved restoring pre-v7 versions of components. Seeing as this was in 2023 when version 7 had barely been released, I’m starting to get the impression that version 7 has been buggy, error-prone software from the get-go. This is really a shame since the idea of being able to run snippets of code interactively is a great one–but if it’s subject to regular updates that break even relatively core functionality (matplotlib plotting has been ubiquitous in Python for over a decade now) then that negates its usefulness.
Anyway, is one of those server components that aren’t installed a critical one that could be causing this problem?