Anaconda Enterprise: Documentation

# bokeh.models.markers

Display a variety of simple scatter marker shapes whose attributes can be associated with data columns from `ColumnDataSources`.

The full list of markers built into Bokeh is given below:

- `Asterisk`
- `Circle`
- `CircleCross`
- `CircleX`
- `Cross`
- `Diamond`
- `DiamondCross`
- `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.

class `bokeh.models.markers.``Marker`(**kwargs)

  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.

  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.

  `angle`

    property type: `AngleSpec`

    The angles to rotate the markers.

  `fill_alpha`

    property type: `NumberSpec`

    The fill alpha values for the markers.

  `fill_color`

    property type: `ColorSpec`

    The fill color values for the markers.

  `line_alpha`

    property type: `NumberSpec`

    The line alpha values for the markers.

  `line_cap`

    property type: `Enum` ( `LineCap` )

    The line cap values for the markers.

  `line_color`

    property type: `ColorSpec`

    The line color values for the markers.

  `line_dash`

    property type: `DashPattern`

    The line dash values for the markers.

  `line_dash_offset`

    property type: `Int`

    The line dash offset values for the markers.

  `line_join`

    property type: `Enum` ( `LineJoin` )

    The line join values for the markers.

  `line_width`

    property type: `NumberSpec`

    The line width values for the markers.

  `size`

    property type: `ScreenDistanceSpec`

    The size (diameter) values for the markers in screen space units.

  `x`

    property type: `NumberSpec`

    The x-axis coordinates for the center of the markers.

  `y`

    property type: `NumberSpec`

    The y-axis coordinates for the center of the markers.

- bokeh.models.markers.Asterisk
- bokeh.models.markers.Circle
- bokeh.models.markers.CircleCross
- bokeh.models.markers.CircleX
- bokeh.models.markers.Cross
- bokeh.models.markers.Diamond
- bokeh.models.markers.DiamondCross
- bokeh.models.markers.InvertedTriangle
- bokeh.models.markers.Square
- bokeh.models.markers.SquareCross
- bokeh.models.markers.SquareX
- bokeh.models.markers.Triangle
- bokeh.models.markers.X