stub_edge_mark

stub_edge_mark(ax: Axes, x: float, y: float, *, marker_kws: Dict = frozendict.frozendict({}), offset: float = 0.1) Tuple[float, float][source]

Draw an edge marker for a single clipped point.

Parameters:
  • ax (matplotlib.axes.Axes) – The axes object to draw markers on.

  • x (float) – The x and y coordinates of the point.

  • y (float) – The x and y coordinates of the point.

  • marker_kws (dict, optional) – Keyword arguments forwarded to matplotlib plot for edge markers.

  • offset (float, default 0.1) – How far outside axis viewport to draw edge markers, proportional to axis viewport height or width.

Returns:

edge_x, edge_y – The x and y coordinates of the placed edge marker.

Return type:

float

See also

outset.stub.stub_all_clipped_values

Automates out of bounds scatterpoint detection and stub creation.