Missing labels and captions in plots with default settings
See original GitHub issueFollowing workflow produced plots without labels or class colors (edited for brevity):
pyani index pyani_sample_genomes
pyani anim pyani_sample_genomes pyani_sample_genomes_anim
pyani plot --formats png,pdf pyani_sample_genomes_anim 1
Solution is to explicitly set labels and classes when call pyani anim
,
pyani index pyani_sample_genomes
pyani anim pyani_sample_genomes pyani_sample_genomes_anim \
--labels pyani_sample_genomes/labels.txt --classes pyani_sample_genomes/classes.txt
pyani plot --formats png,pdf pyani_sample_genomes_anim 1
Would it make sense to have --labels
and --classes
default to $DIR/labels.txt
and $DIR/classes.txt
if present when run on input directory $DIR
?
If no labels are given, would it make sense to use the filename stems as the default labels?
(I’m also puzzled why the classes and labels are tied to the run; I expected pyani index $DIR
to record them from $DIR/labels.txt
and $DIR/classes.txt
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Add or remove data labels in a chart
Right-click the data series or data label to display more data for, and then click Format Data Labels. Click Label Options and under...
Read more >Plots without titles/labels in R
In plot() , main , sub , xlab , and ylab all default to NULL , but this just leaves blank space where...
Read more >Show, Hide, and Format Mark Labels
If the marks are dense, you may not see labels for all the marks unless you check the option Allow labels to overlap...
Read more >FAQ-154 How do I customize the default axis titles and ...
The default legend text can be modified by going to the Plot Details > Legends/Titles tab and changing the Translation mode of %(1),...
Read more >Figure labels: suptitle, supxlabel, supylabel
Figure labels: suptitle, supxlabel, supylabel# ; = plt · subplots ; ): ax · set_xlim ; = ax · plot ; ) ax...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is another thing that should go into the doumentation - the design goals and motivation for the database integration and how that affects the way we need to provide metadata for visualisation.
I should really write this stuff down somewhere 😉