-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG: make
sourmash plot
labels/indices arguments make sense (#2790)
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
- Loading branch information
Showing
6 changed files
with
296 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.