File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,8 @@ ts_tiny.draw_svg(size=svg_size, y_axis=True)
188188One way to avoid overlapping labels on the Y axis is to use the ` y_ticks ` parameter,
189189which will be used in most subsequent examples in this tutorial.
190190
191+ (sec_tskit_viz_larger_tree_sequences)=
192+
191193### Larger tree sequences
192194
193195So far, we have plotted only very small tree sequences. To visualize larger tree
@@ -240,6 +242,12 @@ ts_full.first().draw_svg(
240242)
241243```
242244
245+ For even larger numbers of samples, you can plot the trees for a subset of samples
246+ by applying the {meth}` TreeSequence.simplify ` method (make sure to specify
247+ ` filter_nodes=False ` to retain the same node IDs). For a fancier solution, see
248+ {ref}` sec_tskit_viz_SVG_examples_larger_plots ` below.
249+
250+
243251### Plotting mutations
244252
245253By default the SVG visualization also plots sites and mutations on the tree or
You can’t perform that action at this time.
0 commit comments