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

Method iterscale

_plotly_utils/png.py:2021–2023  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2019 info["bitdepth"] = targetbitdepth
2020
2021 def iterscale():
2022 for row in pixels:
2023 yield [int(round(x * factor)) for x in row]
2024
2025 if maxval == targetmaxval:
2026 return width, height, pixels, info

Callers

nothing calls this directly

Calls 1

intFunction · 0.85

Tested by

no test coverage detected