MCPcopy
hub / github.com/Kanaries/pygwalker / _update_single_chart_spec

Method _update_single_chart_spec

pygwalker/api/component.py:153–159  ·  view source on GitHub ↗

update single chart spec.

(self, key: str, value: Any)

Source from the content-addressed store, hash-verified

151 )
152
153 def _update_single_chart_spec(self, key: str, value: Any) -> Dict[str, Any]:
154 """update single chart spec."""
155 cur_obj = self._single_chart_spec
156 keys = key.split("__")
157 for k in keys[:-1]:
158 cur_obj = cur_obj[k]
159 cur_obj[keys[-1]] = value
160
161 def _convert_string_to_field_info(self, s: str) -> Dict[str, Any]:
162 """

Callers 15

barMethod · 0.80
lineMethod · 0.80
areaMethod · 0.80
trailMethod · 0.80
scatterMethod · 0.80
circleMethod · 0.80
tickMethod · 0.80
rectMethod · 0.80
arcMethod · 0.80
textMethod · 0.80
boxMethod · 0.80
tableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected