ymark
Marks with vertical collision avoidance
Call signature:
ymark(xx, yy, ry, rx=None)
Help text:
ymark(xx, yy, ry, rx) tries to draw marks at (xx, yy), but displaces marks vertically in steps of ry points to avoid collision within a circle with radius ry. (If rx is given, an ellipse with radii rx and ry is avoided.)
See also mark and xmark.
Example:

import qplot as qp

import numpy as np

qp.figure('ymark', 3, 3)

qp.marker('o', fill='solid')

for y in range(3):

        xx = np.random.randn(30) + y

        qp.ymark(xx, y + np.zeros_like(xx), ry=6)