PowerScale

class PowerScale(power=1, inverse=False)[source]

Bases: _Scale, ScaleBase

“Power scale” that performs the transformation

\[x^{c}\]
Parameters
  • power (float, optional) – The power \(c\) to which \(x\) is raised.

  • inverse (bool, optional) – If True this performs the inverse operation \(x^{1/c}\).

Methods Summary

limit_range_for_scale(vmin, vmax, minpos)

Return the range vmin and vmax limited to positive numbers.