MCPcopy Index your code
hub / github.com/ipython/ipython / _convert_gui_to_matplotlib

Function _convert_gui_to_matplotlib

IPython/core/pylabtools.py:505–508  ·  view source on GitHub ↗
(gui: str | None)

Source from the content-addressed store, hash-verified

503# Always use the appropriate one of these conversion functions when passing a
504# gui framework name to/from Matplotlib.
505def _convert_gui_to_matplotlib(gui: str | None) -> str | None:
506 if gui and gui.lower() == "osx":
507 return "macosx"
508 return gui
509
510
511def _convert_gui_from_matplotlib(gui: str | None) -> str | None:

Callers 1

find_gui_and_backendFunction · 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…