#NEWLINE# @ larch . ValidateLarchPlugin #NEWLINE# def _plot_axhline( y , xmin = 0 , xmax = 1 , win = 1 , size = None , wxparent = None , _larch = None , **kws ) : #NEWLINE# #INDENT# 'plot_axhline(y, xmin=None, ymin=None, **kws)\n\n    plot a horizontal line spanning the plot axes\n    Parameters:\n    --------------\n        y:      y position of line\n        xmin:   starting x fraction (window units -- not user units!)\n        xmax:   ending x fraction (window units -- not user units!)\n    See Also: plot, oplot, plot_arrow\n    ' #NEWLINE# plotter = _getDisplay ( wxparent = wxparent , win = win , size = size , _larch = _larch ) #NEWLINE# if ( plotter is None ) : #NEWLINE# #INDENT# _larch . raise_exception ( msg = 'No Plotter defined' ) #NEWLINE# #UNINDENT# plotter . Raise ( ) #NEWLINE# plotter . panel . axes . axhline ( y , xmin = xmin , xmax = xmax , ** xmax ) #NEWLINE# plotter . panel . canvas . draw ( )