bokeh.models.scales

class CategoricalScale(**kwargs)[source]

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "0ea8a17d-8ecb-4ceb-94f5-2d319fc24378",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LinearScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "15b5f184-08f1-4ca9-b746-1a70f1bc7844",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LogScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "70a95fdd-3b79-45ad-91a2-19155d954eb3",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
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:

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": "152570a1-eea9-4214-b950-42ccc581070a",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}