plotnine.arrow

arrow(angle=30, length=0.2, ends="last", type="open")

Define arrow (actually an arrowhead)

This is used to define arrow heads for geom_path.

Parameters

angle : float = 30

angle in degrees between the tail a single edge.

length : float = 0.2

of the edge in “inches”

ends : Literal["first", "last", "both"] = "last"

At which end of the line to draw the arrowhead

type : Literal["open", "closed"] = "open"

When it is closed, it is also filled