healpy.projaxes.HpxGnomonicAxes.hlines

HpxGnomonicAxes.hlines(y, xmin, xmax, colors='k', linestyles='solid', label='', **kwargs)

Plot horizontal lines.

Plot horizontal lines at each y from xmin to xmax.

Parameters:

y : scalar or 1D array_like

y-indexes where to plot the lines.

xmin, xmax : scalar or 1D array_like

Respective beginning and end of each line. If scalars are provided, all lines will have same length.

colors : array_like of colors, optional, default: ‘k’

linestyles : [‘solid’ | ‘dashed’ | ‘dashdot’ | ‘dotted’], optional

label : string, optional, default: ‘’

Returns:

lines : ~matplotlib.collections.LineCollection

Other Parameters:
 

kwargs : ~matplotlib.collections.LineCollection properties.

See also

vlines
vertical lines

Examples