#NEWLINE# def peaks_panel( self , ax , feature ) : #NEWLINE# #INDENT# hits = self . peaks . intersect ( [ feature ] , u = True ) #NEWLINE# track = Track ( hits , ** self . peaks_style ) #NEWLINE# ax . add_collection ( track ) #NEWLINE# for x in ( ( ( ax . get_yticklines ( ) + ax . get_xticklines ( ) ) + ax . get_yticklabels ( ) ) + ax . get_xticklabels ( ) ) : #NEWLINE# #INDENT# x . set_visible ( False ) #NEWLINE# #UNINDENT# ax . set_ylabel ( 'Peaks' , rotation = 0 , horizontalalignment = 'right' , verticalalignment = 'center' ) #NEWLINE# ax . yaxis . set_ticks_position ( 'none' ) #NEWLINE# ax . xaxis . set_ticks_position ( 'none' ) #NEWLINE# ax . set_frame_on ( False ) #NEWLINE# return feature