-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Differing dendrogram outputs from plot - --labeltext
is honored differently by dendrogram and matrix outputs
#2667
Comments
Hi, Update: I can see the problem now. Thanks. |
Thanks @mr-eyes , let me know if you need anything from me. |
Hi @mr-eyes, I have identified the problem, part of which was my fault ( I was missing the |
Thanks @Glfrey |
--labeltext
is honored differently by dendrogram and matrix outputs
ok, got it ;). The problem is that the matrix plot is not observing the labels passed in by One fix (that would not be backwards compatible necessarily) is to force Related, it seems to me that having |
To test this all out, examine the dendrogram and matrix output of the following commands:
#2790 fixes this behavior. |
This PR rationalizes `sig plot` arguments for `--labels` (show names) and `--indices` (show numbers), and adds `--no-labels` and `--no-indices`, as follows. See #2667 for motivating bug. 1. `sourmash plot compare-demo` - labels on dendrogram, labels on matrix ✅ (FIXED) 2. `sourmash plot compare-demo --labels` - labels on both dendrogram and matrix ✅ 3. `sourmash plot compare-demo --indices` - indices on both dendrogram and matrix ✅ 4. `sourmash plot compare-demo --labels --indices` - labels on both ✅ (FIXED - labels override indices) New arguments from this PR: 5. `sourmash plot compare-demo --no-labels` - indices on both ✅ 6. `sourmash plot compare-demo --no-labels --no-indices` - no labels/indices on either ✅ 7. `sourmash plot compare-demo --no-indices` - labels on both ✅ The PR also simplifies some of the `plot` command code as well as code in `fig.py`. TODO: - [x] write some tests for new args - [x] update documentation - [x] check to see if notebook code should be updated Fixes #2667 Closes #2672
Hello,
I'm currently having an issue where
sourmash plot
is outputting two different dendrograms. I've attached an example and the code I used below. I get the same issue with version 4.0.0.(using for some old work) and the latest version.I've confirmed the
new_labels.txt
contains the same labels in the same order as the original label file, I just wanted to remove the directory structure from the labels.The text was updated successfully, but these errors were encountered: