Display a variety of simple scatter marker shapes whose attributes can be associated with data columns from ColumnDataSources.
ColumnDataSources
The full list of markers built into Bokeh is given below:
Asterisk
Circle
CircleCross
CircleX
Cross
Dash
Diamond
DiamondCross
Hex
InvertedTriangle
Square
SquareCross
SquareX
Triangle
X
Markers are all subclasses of Glyph. Additionally, they all share the same common interface providing fill and line properties provided by their base class Marker. Note that a few glyphs, Cross and X, only draw lines. For these the fill property values are ignored. Also note that the Circle glyph has some additional properties such as radius that other markers do not.
Glyph
Marker
radius
Base class for glyphs that are simple markers with line and fill properties, located at an (x, y) location with a specified size.
Note
For simplicity, all markers have both line and fill properties declared, however some markers (Asterisk, Cross, X) only draw lines. For these markers, the fill values are simply ignored.
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.
angle
property type: AngleSpec
AngleSpec
The angles to rotate the markers.
fill_alpha
property type: NumberSpec
NumberSpec
The fill alpha values for the markers.
fill_color
property type: ColorSpec
ColorSpec
The fill color values for the markers.
line_alpha
The line alpha values for the markers.
line_cap
property type: Enum ( LineCap )
Enum
LineCap
The line cap values for the markers.
line_color
The line color values for the markers.
line_dash
property type: DashPattern
DashPattern
The line dash values for the markers.
line_dash_offset
property type: Int
Int
The line dash offset values for the markers.
line_join
property type: Enum ( LineJoin )
LineJoin
The line join values for the markers.
line_width
The line width values for the markers.
size
property type: ScreenDistanceSpec
ScreenDistanceSpec
The size (diameter) values for the markers in screen space units.
x
The x-axis coordinates for the center of the markers.
y
The y-axis coordinates for the center of the markers.