Closed bonnielu closed 2 years ago
This seems to occur when the initial display only has one lineage, resulting in disruptions to the x-scale calculations. I've created a fix which ensures that the drawtree process always uses the original df to calculated the x scale—will push it to dev in a bit!
Fix in dev
branch
Not all of the lineages are being displayed when we're using this set of test data. However, checking out a previous instance of the branch (prior to tree filtering) does yield the correct tree.
I'm thinking that this is potentially an edge case that we haven't covered? I've looked into it briefly and the
redraw_tree
function does produce a filtered df with the correct number of tips/nodes. So it likely has something to do with the actual drawing process.