bokeh.models.scales

class bokeh.models.scales.CategoricalScale(**kwargs)

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "e8bc4ad0-85b5-45a6-8ea0-8db2948995a6",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class bokeh.models.scales.LinearScale(**kwargs)

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "eecaf526-c7b3-44e2-b93f-4c7eca1e290a",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class bokeh.models.scales.LogScale(**kwargs)

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "c52daf22-7558-4c5d-b848-dd99c2152bd5",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class bokeh.models.scales.Scale(**kwargs)

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:

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.

JSON Prototype
{
  "id": "c6705a58-fc0d-4002-80c4-9b18a894c64e",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}