MCPcopy Create free account
hub / github.com/holoviz/hvplot / __init__

Method __init__

hvplot/util.py:1102–1115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1100
1101class _PatchHvplotDocstrings:
1102 def __init__(self):
1103 from .plotting.core import hvPlot, hvPlotTabular
1104 from .converter import HoloViewsConverter
1105
1106 # Store the original signatures because the method signatures
1107 # are going to be patched every time an extension is changed.
1108 orig = {}
1109 for cls in [hvPlot, hvPlotTabular]:
1110 for _kind in HoloViewsConverter._kind_mapping:
1111 if hasattr(cls, _kind):
1112 method = getattr(cls, _kind)
1113 sig = inspect.signature(method)
1114 orig[(cls, _kind)] = (sig, method.__doc__)
1115 self.orig = orig
1116
1117 def __call__(self):
1118 from .plotting.core import hvPlot, hvPlotTabular

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected