cellestial.arrow_axis#
- arrow_axis(plot: PlotSpec, /, size: float, color: str, angle: float, length: float, **arrow_kwargs)#
Adds arrows as the X and Y axis to the plot.
- Parameters:
plot (
PlotSpec) – The plot to which the layer will be added. Used to extract data and aesthetics.size (
float) – Size of the arrow.color (
str) – Color of the arrow.angle (
float) – Angle of the arrow head in degrees.length (
float) – Length of the arrow head (px).**arrow_kwargs – Additional parameters for the arrow layer. For more information on arrow parameters, see: https://lets-plot.org/python/pages/api/lets_plot.arrow.html
- Returns:
FeatureSpec or FeatureSpecArray – Theme feature specification.