MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / __init__

Method __init__

lib/matplotlib/backends/backend_qt.py:694–697  ·  view source on GitHub ↗
(self, image_path, toolbar=None)

Source from the content-addressed store, hash-verified

692 """
693
694 def __init__(self, image_path, toolbar=None):
695 super().__init__()
696 self.image_path = image_path
697 self.toolbar = toolbar
698
699 def _is_dark_mode(self):
700 return self.toolbar.palette().color(self.toolbar.backgroundRole()).value() < 128

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected