def assign_tip_labels_and_colors(self):
<EOL>if self.style.tip_labels_colors:<EOL><INDENT>if self.ttree._fixed_order:<EOL><INDENT>if isinstance(self.style.tip_labels_colors, (list, np.ndarray)):                                     <EOL><INDENT>cols = np.array(self.style.tip_labels_colors)<EOL>orde = cols[self.ttree._fixed_idx]<EOL>self.style.tip_labels_colors = list(orde)<EOL><DEDENT><DEDENT><DEDENT>if self.style.tip_labels is False:<EOL><INDENT>self.style.tip_labels_style["<STR_LIT>"] = "<STR_LIT>"<EOL>self.tip_labels = ["<STR_LIT>" for i in self.ttree.get_tip_labels()]<EOL><DEDENT>else:<EOL><INDENT>if not self.style.tip_labels_style["<STR_LIT>"]:<EOL><INDENT>self.style.tip_labels_style["<STR_LIT>"] = "<STR_LIT>"<EOL><DEDENT>if isinstance(self.style.tip_labels, list):<EOL><INDENT>self.tip_labels = self.style.tip_labels<EOL><DEDENT>else:<EOL><INDENT>if self.ttree._fixed_order:<EOL><INDENT>self.tip_labels = self.ttree._fixed_order<EOL><DEDENT>else:<EOL><INDENT>self.tip_labels = self.ttree.get_tip_labels()<EOL><DEDENT><DEDENT><DEDENT>
assign tip labels based on user provided kwargs