def fit_tip_labels(self):
if not self.tip_labels:<EOL><INDENT>return <EOL><DEDENT>longest_name = max([len(i) for i in self.tip_labels])<EOL>if longest_name > <NUM_LIT:10>:<EOL><INDENT>multiplier = <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>multiplier = <NUM_LIT><EOL><DEDENT>if self.style.use_edge_lengths:<EOL><INDENT>addon = (self.treelist[<NUM_LIT:0>].treenode.height + (<EOL>self.treelist[<NUM_LIT:0>].treenode.height * multiplier))<EOL><DEDENT>else:<EOL><INDENT>addon = self.treelist[<NUM_LIT:0>].treenode.get_farthest_leaf(True)[<NUM_LIT:1>]<EOL><DEDENT>if self.style.orient == "<STR_LIT:right>":<EOL><INDENT>self.axes.x.domain.max = addon<EOL><DEDENT>elif self.style.orient == "<STR_LIT>":<EOL><INDENT>self.axes.y.domain.min = -<NUM_LIT:1> * addon<EOL><DEDENT>
Modifies display range to ensure tip labels fit. This is a bit hackish
still. The problem is that the 'extents' range of the rendered text
is totally correct. So we add a little buffer here. Should add for 
user to be able to modify this if needed. If not using edge lengths
then need to use unit length for treeheight.