Skip to content

Commit 20475ed

Browse files
Merge pull request #195 from hyanwong/patch-31
Set Y limits in diversity plot
2 parents c1e68a9 + 9868956 commit 20475ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

getting_started.md

+1
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ ax1.set_xlabel("Genome position (kb)")
383383
ax1.set_title("Site-based calculation")
384384
ax1.set_xlim(4e3, 6e3)
385385
ax1.set_yscale("log")
386+
ax1.set_ylim(1e-6, 1e-3)
386387
ax2.stairs(ts.diversity(windows=windows, mode="branch"), windows/1_000, baseline=None)
387388
ax2.set_xlabel("Genome position (kb)")
388389
ax2.set_title("Branch-length-based calculation")

0 commit comments

Comments
 (0)