bokeh.models.scales¶
-
class
LinearScale
(**kwargs)[source]¶ Bases:
bokeh.models.scales.Scale
-
class
LogScale
(**kwargs)[source]¶ Bases:
bokeh.models.scales.Scale
-
class
Scale
(**kwargs)[source]¶ Bases:
bokeh.models.transforms.Transform
Base class for
Scale
models that represent an invertible computation to be carried out on the client-side.JavaScript implementations should implement the following methods:
compute: (x) -> # compute the transform of a single value v_compute: (xs) -> # compute the transform of an array of values invert: (xprime) -> # compute the inverse transform of a single value v_invert: (xprimes) -> # compute the inverse transform of an array of values
Note
This is an abstract base class used to help organize the hierarchy of Bokeh model types. It is not useful to instantiate on its own.