Dot
plotynium.marks.Dot
Dot(data, x=None, y=None, r=None, symbol=None, fill=None, fill_opacity=1.0, stroke=None, stroke_width=1.5, stroke_opacity=1.0, stroke_dasharray=None, opacity=1.0)
Marker for add dots (as symbols or circles) given point coordinates.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
list[T]
|
List where points coordinates are stored. |
required |
|
Callable[[T], Data] | str | None
|
X accessor function or key value |
None
|
|
Callable[[T], Data] | str | None
|
Y accessor function or key value |
None
|
|
Callable[[T], float] | str | None
|
Key value or function which returns circle radius given data. |
None
|
|
Callable[[T], str] | str | None
|
Key value or function which returns symbol path given data. |
None
|
|
Callable[[T], str] | str | None
|
Function which takes a data and returns a color applied for |
None
|
|
float
|
Fill opacity value included in [0, 1]. |
1.0
|
|
Callable[[T], str] | str | None
|
Function which takes a data and returns a color applied for |
None
|
|
float
|
Stroke width value. |
1.5
|
|
float
|
Stroke opacity value included in [0, 1]. |
1.0
|
|
str | None
|
Stroke dasharray value. |
None
|
|
float
|
General opacity value included in [0, 1]. |
1.0
|
Source code in plotynium/marks/dot.py
apply
Add circles or symbols on the SVG content.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
Selection
|
SVG content |
required |
|
Context
|
Context |
required |