-
Notifications
You must be signed in to change notification settings - Fork 78
Background svg shading #563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7c5764f to
502dfab
Compare
Codecov Report
@@ Coverage Diff @@
## master #563 +/- ##
==========================================
- Coverage 87.30% 87.27% -0.03%
==========================================
Files 22 22
Lines 16718 16735 +17
Branches 3267 3272 +5
==========================================
+ Hits 14595 14605 +10
- Misses 1040 1043 +3
- Partials 1083 1087 +4
Continue to review full report at Codecov.
|
|
Beautiful! I think the parameter names are just right. |
Thanks @jeromekelleher. I guess the only missing thing is a check on the two allowed values (I was waiting until this seemed like a good nomenclature). I coded |
|
Sound good. Let's look at it again when the stuff it depends on is merged. |
0de5652 to
d60bacd
Compare
|
This one is the next SVG PR to go in. It's rebased to master, just needs some coverage of the "tree-wise" path and an error thrown when a bad |
|
Yes, let's get this one merged ASAP, just needs some small updates. The pattern used for other string constants like this has been where |
Yep, perfect. Do you want me to do this @benjeffery, or can you do it (I think you said you might!)? |
|
I can fix it up, squash and rebase. |
d60bacd to
0f8369a
Compare
0f8369a to
5eac898
Compare
|
I've added the extra coverage and |
|
Merge away I'd say @benjeffery |
|
Hmm, travis is AWOL. Checking. |
|
Feel free to just merge stuff if CI has passed on Circle and we know that it'll pass on the others (i.e., it's already pass n times before) |
To be considered after #555 (on which this is based - the only new stuff is in the last commit in this PR). New (default) behaviour is equivalent to
ts.draw_svg(x_scale="physical"), old behaviour is gained byts.draw_svg(x_scale="treewise").x_scale="physical"produces tree sequence SVG plots like the one below. There are some hard-coded margin values etc that could probably be improved, and suggestions as to better parameter nomenclature welcome.