MCPcopy Index your code
hub / github.com/plotly/dash / to_plotly_json

Method to_plotly_json

dash/dash_table/Format.py:268–287  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

266 return self
267
268 def to_plotly_json(self):
269 f = {}
270 f["locale"] = self._locale.copy()
271 f["nully"] = self._nully
272 f["prefix"] = self._prefix
273 aligned = self._specifier["align"] != Align.default
274 f["specifier"] = "{}{}{}{}{}{}{}{}{}{}".format(
275 self._specifier["fill"] if aligned else "",
276 self._specifier["align"],
277 self._specifier["sign"],
278 self._specifier["symbol"],
279 self._specifier["padding"],
280 self._specifier["width"],
281 self._specifier["group"],
282 self._specifier["precision"],
283 self._specifier["trim"],
284 self._specifier["type"],
285 )
286
287 return f

Callers

nothing calls this directly

Calls 2

copyMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected