This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

bokeh.models.images — Bokeh 0.12.5 documentation

Source code for bokeh.models.images

from __future__ import absolute_import

from ..core.properties import Any, Dict, String
from ..model import Model

[docs]class ImageSource(Model): ''' A base class for all image source types. ''' _args = ('url', 'extra_url_vars') url = String(default="", help=""" tile service url (example: http://c.tile.openstreetmap.org/{Z}/{X}/{Y}.png) """) extra_url_vars = Dict(String, Any, help=""" A dictionary that maps url variable template keys to values. These variables are useful for parts of tile urls which do not change from tile to tile (e.g. server host name, or layer name). """)