MCPcopy Index your code
hub / github.com/plotly/plotly.py / _init_subplot_domain

Function _init_subplot_domain

plotly/_subplots.py:1075–1083  ·  view source on GitHub ↗
(x_domain, y_domain)

Source from the content-addressed store, hash-verified

1073
1074
1075def _init_subplot_domain(x_domain, y_domain):
1076 # No change to layout since domain traces are labeled individually
1077 subplot_ref = SubplotRef(
1078 subplot_type="domain",
1079 layout_keys=(),
1080 trace_kwargs={"domain": {"x": tuple(x_domain), "y": tuple(y_domain)}},
1081 )
1082
1083 return (subplot_ref,)
1084
1085
1086def _subplot_type_for_trace_type(trace_type):

Callers 1

_init_subplotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected