bokeh.models.scales

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

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "cd0acddd-132b-49a4-9440-30f11c95ca9c",
  "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": "c7367ee8-ec4b-4be1-9a8e-75f3e4d1b0f6",
  "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": "ee698601-e013-48e6-b37d-6d6fea359c9b",
  "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": "ace706e5-6cb1-4f5f-a32c-c69d3a7e2f58",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}