bokeh.models.textures

class CanvasTexture(**kwargs)[source]

Bases: bokeh.models.textures.Texture

code

property type: String

A snippet of JavaScript code to execute in the browser.

JSON Prototype
{
  "code": null,
  "id": "14214",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "repetition": "repeat",
  "subscribed_events": [],
  "tags": []
}
class ImageURLTexture(**kwargs)[source]

Bases: bokeh.models.textures.Texture

url

property type: String

JSON Prototype
{
  "id": "14216",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "repetition": "repeat",
  "subscribed_events": [],
  "tags": [],
  "url": null
}
class Texture(**kwargs)[source]

Bases: bokeh.model.Model

Base class for Texture models that represent fill patterns.

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.

repetition

property type: Enum ( TextureRepetition )

JSON Prototype
{
  "id": "14218",
  "js_event_callbacks": {},
  "js_property_callbacks": {},
  "name": null,
  "repetition": "repeat",
  "subscribed_events": [],
  "tags": []
}