bokeh.models.scales

class CategoricalScale(**kwargs)[source]

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "7016e197-d9c4-4bd5-b3c9-61b62fbe4d78",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LinearScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "37b65fbd-dfc3-4f53-9f8d-c44088968f1a",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LogScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "535cbca5-7bfb-4c9e-8bad-deb6cc0cf70b",
  "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": "8916fe41-1cd7-4c10-a0d6-31b0343ec403",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}