bokeh.models.scales

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

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "8f4cb96b-adcd-4148-b748-0bb59729dc13",
  "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": "767e0c22-9506-4089-80d8-3a5cde971482",
  "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": "d6495f4d-2d5d-4103-beb5-b02d6e7cd38b",
  "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": "98443e56-2cc8-4995-b2d3-3502ca5c9385",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}