bokeh.models.scales

class CategoricalScale(**kwargs)[source]

Bases: bokeh.models.scales.LinearScale

JSON Prototype
{
  "id": "eb75ccfa-a66f-43cc-a8df-a284719ad5ed",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LinearScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "8c4195ea-0798-4836-97f0-3b1c184e3c65",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}
class LogScale(**kwargs)[source]

Bases: bokeh.models.scales.Scale

JSON Prototype
{
  "id": "416a0775-1932-4c5f-ba58-bd168a4c6bbb",
  "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": "7a4931f3-fdad-4a30-8fb7-8ffec061b917",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "subscribed_events": [],
  "tags": []
}