hairline
Specify hairline width
Call signature:
hairline(width)
Help text:
hairline(width) specifies the width of hairlines (lines with nominal width 0) as rendered to screen or pdf.
The default is 0.25 pt (0.088 mm) when rendering to pdf. When rendering to screen, the default is 0, which implies "one pixel wide".
Unlike other QPlot commands, this one is effective retroactively as well as proactively: It affects every single object in the current figure that is plotted with nominal width 0.
The use of hairlines is not generally recommended, as the result is dependent on the output device.
Example:

import qplot as qp

import numpy as np

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

qp.hairline(1)

qp.plot(np.arange(6), np.mod(np.arange(6), 2))