def ax_normed_data(x1list, y1list, ax_ymax):
 unit = (ax_ymax / max(abs(y1list)))
 nxlist = []
 nylist = []
 for i in range(len(y1list)):
  if (y1list[i] != 0):
   nxlist.append(x1list[i])
   nylist.append(y1list[i])
 nylist = np.abs((np.array(nylist) * unit))
 return (nxlist, nylist)

def ax_normed_data ( x1list , y1list , ax_ymax ) : unit = ( ax_ymax / max ( abs ( y1list ) ) ) nxlist = [ ] nylist = [ ] for i in range ( len ( y1list ) ) : if ( y1list [ i ] != 0 ) : nxlist . append ( x1list [ i ] ) nylist . append ( y1list [ i ] ) nylist = np . abs ( ( np . array ( nylist ) * unit ) ) return ( nxlist , nylist )
docstring for normed_data .