bokeh.models.arrow_heads
¶
Models for various kinds of arrow heads that can be added to Arrow annotations
-
class
ArrowHead
(**kwargs)¶ Bases:
bokeh.models.annotations.Annotation
Base class for arrow heads.
-
class
NormalHead
(**kwargs)¶ Bases:
bokeh.models.arrow_heads.ArrowHead
Render a closed-body arrow head.
-
fill_alpha
¶ property type: fill_alpha:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The fill alpha values for the arrow head interior.
-
fill_color
¶ property type: fill_color:ColorSpec(String, Dict(String, Either(String, Instance(Transform), Color)), Color)
The fill color values for the arrow head interior.
-
line_alpha
¶ property type: line_alpha:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The line alpha values for the arrow head outline.
-
line_cap
¶ property type: line_cap:Enum(‘butt’, ‘round’, ‘square’)
The line cap values for the arrow head outline.
-
line_color
¶ property type: line_color:ColorSpec(String, Dict(String, Either(String, Instance(Transform), Color)), Color)
The line color values for the arrow head outline.
-
line_dash
¶ property type: line_dash:DashPattern
The line dash values for the arrow head outline.
-
line_dash_offset
¶ property type: line_dash_offset:Int
The line dash offset values for the arrow head outline.
-
line_join
¶ property type: line_join:Enum(‘miter’, ‘round’, ‘bevel’)
The line join values for the arrow head outline.
-
line_width
¶ property type: line_width:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The line width values for the arrow head outline.
-
size
¶ property type: size:Float
The size, in pixels, of the arrow head.
-
-
class
OpenHead
(**kwargs)¶ Bases:
bokeh.models.arrow_heads.ArrowHead
Render an open-body arrow head.
-
line_alpha
¶ property type: line_alpha:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The line alpha values for the arrow head outline.
-
line_cap
¶ property type: line_cap:Enum(‘butt’, ‘round’, ‘square’)
The line cap values for the arrow head outline.
-
line_color
¶ property type: line_color:ColorSpec(String, Dict(String, Either(String, Instance(Transform), Color)), Color)
The line color values for the arrow head outline.
-
line_dash
¶ property type: line_dash:DashPattern
The line dash values for the arrow head outline.
-
line_dash_offset
¶ property type: line_dash_offset:Int
The line dash offset values for the arrow head outline.
-
line_join
¶ property type: line_join:Enum(‘miter’, ‘round’, ‘bevel’)
The line join values for the arrow head outline.
-
line_width
¶ property type: line_width:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The line width values for the arrow head outline.
-
size
¶ property type: size:Float
The size, in pixels, of the arrow head.
-
-
class
VeeHead
(**kwargs)¶ Bases:
bokeh.models.arrow_heads.ArrowHead
Render an vee-style arrow head.
-
fill_alpha
¶ property type: fill_alpha:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The fill alpha values for the arrow head interior.
-
fill_color
¶ property type: fill_color:ColorSpec(String, Dict(String, Either(String, Instance(Transform), Color)), Color)
The fill color values for the arrow head interior.
-
line_alpha
¶ property type: line_alpha:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The line alpha values for the arrow head outline.
-
line_cap
¶ property type: line_cap:Enum(‘butt’, ‘round’, ‘square’)
The line cap values for the arrow head outline.
-
line_color
¶ property type: line_color:ColorSpec(String, Dict(String, Either(String, Instance(Transform), Color)), Color)
The line color values for the arrow head outline.
-
line_dash
¶ property type: line_dash:DashPattern
The line dash values for the arrow head outline.
-
line_dash_offset
¶ property type: line_dash_offset:Int
The line dash offset values for the arrow head outline.
-
line_join
¶ property type: line_join:Enum(‘miter’, ‘round’, ‘bevel’)
The line join values for the arrow head outline.
-
line_width
¶ property type: line_width:NumberSpec(String, Dict(String, Either(String, Instance(Transform), Float)), Float)
The line width values for the arrow head outline.
-
size
¶ property type: size:Float
The size, in pixels, of the arrow head.
-