def get_tip_label_coords(self):
<EOL>ns = self.ttree.ntips<EOL>tip_xpos = self.coords.verts[:ns, <NUM_LIT:0>]<EOL>tip_ypos = self.coords.verts[:ns, <NUM_LIT:1>]<EOL>align_edges = None<EOL>align_verts = None<EOL>if self.style.orient in (<NUM_LIT:0>, '<STR_LIT>'):<EOL><INDENT>if self.style.tip_labels_align:<EOL><INDENT>tip_yend = np.zeros(ns)<EOL>align_edges = np.array([<EOL>(i + len(tip_ypos), i) for i in range(len(tip_ypos))<EOL>])<EOL>align_verts = np.array(<EOL>list(zip(tip_xpos, tip_ypos)) +list(zip(tip_xpos, tip_yend))<EOL>)<EOL>tip_ypos = tip_yend<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if self.style.tip_labels_align:<EOL><INDENT>tip_xend = np.zeros(ns)<EOL>align_edges = np.array([<EOL>(i + len(tip_xpos), i) for i in range(len(tip_xpos))<EOL>])<EOL>align_verts = np.array(<EOL>list(zip(tip_xpos, tip_ypos)) +list(zip(tip_xend, tip_ypos))<EOL>)<EOL>tip_xpos = tip_xend<EOL><DEDENT><DEDENT>return tip_xpos, tip_ypos, align_edges, align_verts<EOL>
Get starting position of tip labels text based on locations of the 
leaf nodes on the tree and style offset and align options. Node
positions are found using the .verts attribute of coords and is 
already oriented for the tree face direction.