astrix.plots.cartplot module¶
- class CartPlot(width=12.0, aspect=0.6)[source]¶
Bases:
object- Parameters:
width (float)
aspect (float)
- add_path(path, color='r', style='-', label=None, show_label=True)[source]¶
Add a path to the map. :type path:
Path:param path: The path to add. :type path: Path :type color:str:param color: The color of the path. Defaults to “r”. :type color: str, optional :type style:str:param style: The style of the path. Defaults to “-“. :type style: str, optional- Parameters:
path (Path)
color (str)
style (str)
label (str | None)
show_label (bool)
- add_point(point, color='r', marker='o', ms=6.0, label=None, ha='left', fw='normal', bgc='none')[source]¶
- Parameters:
point (Point)
color (str)
marker (str)
ms (float)
label (str | None)
ha (str)
fw (str)
bgc (str)
- add_rays(rays, length=200000.0, color='g')[source]¶
- Parameters:
rays (Ray)
length (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str])
color (str)