bokeh.models.scales

class CategoricalScale(**kwargs)[source]

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "52e67e90-5a7b-43ab-ac78-0aad94fc0d25",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LinearScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "5884ca95-188f-4110-bb19-42fae31e172e",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LogScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "bcb33419-638d-4f1a-abad-bbd831033844",
  "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": "09682f35-9933-4747-ba78-6893b8bc06f9",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}