def draw(self, axes):
<EOL>tre = toytree.tree(newick=self.results.tree)<EOL>tre.draw(<EOL>axes=axes,<EOL>use_edge_lengths=True,<EOL>tree_style='<STR_LIT:c>',<EOL>tip_labels_align=True,<EOL>edge_align_style={"<STR_LIT>": <NUM_LIT:1>}<EOL>);<EOL>for admix in self.results.admixture:<EOL><INDENT>pidx, pdist, cidx, cdist, weight = admix<EOL>a = _get_admix_point(tre, pidx, pdist)<EOL>b = _get_admix_point(tre, cidx, cdist)<EOL>mark = axes.plot(<EOL>a = (a[<NUM_LIT:0>], b[<NUM_LIT:0>]),<EOL>b = (a[<NUM_LIT:1>], b[<NUM_LIT:1>]),<EOL>style={"<STR_LIT>": <NUM_LIT:10>*weight,<EOL>"<STR_LIT>": <NUM_LIT>, <EOL>"<STR_LIT>": "<STR_LIT>"}<EOL>)<EOL>axes.scatterplot(<EOL>a = (b[<NUM_LIT:0>]),<EOL>b = (b[<NUM_LIT:1>]),<EOL>size=<NUM_LIT:8>,<EOL>title="<STR_LIT>".format(weight),<EOL>)<EOL><DEDENT>axes.y.show=False<EOL>axes.x.ticks.show=True<EOL>axes.x.label.text = "<STR_LIT>"<EOL>return axes<EOL>
Returns a treemix plot on a toyplot.axes object.