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

Method _process_gAMA

_plotly_utils/png.py:1762–1766  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1760 raise FormatError("tRNS chunk has incorrect length.")
1761
1762 def _process_gAMA(self, data):
1763 try:
1764 self.gamma = struct.unpack("!L", data)[0] / 100000.0
1765 except struct.error:
1766 raise FormatError("gAMA chunk has incorrect length.")
1767
1768 def _process_sBIT(self, data):
1769 self.sbit = data

Callers

nothing calls this directly

Calls 2

FormatErrorClass · 0.85
unpackMethod · 0.45

Tested by

no test coverage detected