jeromekelleher / sc2ts

Infer a succinct tree sequence from SARS-COV-2 variation data
MIT License
4 stars 3 forks source link

Only plot if no axis defined #142

Closed hyanwong closed 1 year ago

hyanwong commented 1 year ago

We need to be able to turn off plt.show() when scriptifying this plot to create figures for publication (rather than outputting to a notebook). The easiest is not to call show() when a plot axis has already been specified, which is what we do when creating pdfs for publication.