Skip to content

Commit f60268b

Browse files
hyanwongBen Jeffery
authored andcommitted
Rework viz tutorial
As pointed out by Ben Haller, the code to generate the example tree sequence in the viz tutorial is completely hidden. This revamps the tutorial so that the instructive part of the text uses hidden tree sequences, but the examples at the end (which now include the 3D example) are self-contained, and so can be easilty executed by copy-and-paste.l This relies on a new tskit version being released with tskit-dev/tskit#2650 and tskit-dev/tskit#2646 merged
1 parent e3e81f1 commit f60268b

5 files changed

Lines changed: 272 additions & 199 deletions

File tree

data/viz_7_trees_of_4_tips.trees

-8.44 KB
Binary file not shown.

data/viz_root_mut.trees

-6.28 KB
Binary file not shown.

data/viz_spr_animation.trees

-7.6 KB
Binary file not shown.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ scikit-allel
77
tqdm
88
numpy
99
networkx
10-
tskit>=0.5.1
10+
tskit>=0.5.4
1111
msprime>=1.0
1212
stdpopsim
1313
tskit-book-theme==0.3.2

0 commit comments

Comments
 (0)