Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ _convert_gui_from_matplotlib
Function
_convert_gui_from_matplotlib
IPython/core/pylabtools.py:511–514 ·
view source on GitHub ↗
(gui: str | None)
Source
from the content-addressed store, hash-verified
509
510
511
def
_convert_gui_from_matplotlib(gui: str | None) -> str | None:
512
if
gui and gui.lower() ==
"macosx"
:
513
return
"osx"
514
return
gui
Callers
3
enable_gui
Method · 0.85
find_gui_and_backend
Function · 0.85
_list_matplotlib_backends_and_gui_loops
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…