bokeh.models.scales

class CategoricalScale(**kwargs)[source]

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "31ed4deb-af16-4694-97d1-d2c3b9756e39",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LinearScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "7fc4d213-35d9-4c16-992a-666d5c013aa4",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LogScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "ef54cd63-a614-4d04-bbc8-3f4146c5883d",
  "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": "bed642d0-1c77-4c61-b793-70a5da0bc631",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}