plotnine.geoms.arrow¶
- class plotnine.geoms.arrow(angle: float = 30, length: float = 0.2, ends: Literal['first', 'last', 'both'] = 'last', type: Literal['open', 'closed'] = 'open')[source]¶
Define arrow (actually an arrowhead)
This is used to define arrow heads for
geom_path
.- Parameters
- angle
python:int
|python:float
angle in degrees between the tail a single edge.
- length
python:int
|python:float
of the edge in "inches"
- ends
python:str
in
['last', 'first', 'both']
At which end of the line to draw the arrowhead
- type
python:str
in
['open', 'closed']
When it is closed, it is also filled
- angle