diff --git a/bokeh/glyphs.py b/bokeh/glyphs.py index 8b9aabc..4bf2522 100644 --- a/bokeh/glyphs.py +++ b/bokeh/glyphs.py @@ -167,6 +167,7 @@ class ImageURI(BaseGlyph): x = DataSpec y = DataSpec angle = DataSpec + url = DataSpec class ImageRGBA(BaseGlyph): __view_model__ = 'image_rgba' @@ -258,4 +259,4 @@ class Wedge(BaseGlyph, FillProps, LineProps): radius = DataSpec(min_value=0) start_angle = DataSpec end_angle = DataSpec - direction = Enum(Direction) \ No newline at end of file + direction = Enum(Direction) diff --git a/bokeh/plotting.py b/bokeh/plotting.py index 7997b9f..883566c 100644 --- a/bokeh/plotting.py +++ b/bokeh/plotting.py @@ -789,6 +789,9 @@ Notes: """ ) +image_url = _glyph_function(glyphs.ImageURL, ("url", "x", "y", "angle"), "FIXME: Need docstring") + + inverted_triangle = _glyph_function(glyphs.InvertedTriangle, ("x", "y"), """ The `inverted_triangle` glyph is a marker that renders upside-down triangles at `x`, `y` with size `size` or `radius`.