Closed pixelzoom closed 4 years ago
I addressed this in the above commit, which can be test-driven in 1.2.0-dev.1. To test:
Assuming this tests OK, this will be picked up by the 1.1 prototype. #209 blocks the prototype, and this fix also fixes that issue.
It seems to be working correctly!
One thing I want documented:
First, I have total and white fur checked (can just be one checkbox though). It looks like this:
Then when I click brown fur, the "zoom out" text goes away, but it's hard to tell that there is visible data for brown fur.
Just wanted this documented. Nothing is wrong, the code is correct, but it took me a few clicks to realize that there was data because it is subtle.
Yes indeed, a horizontal line at y=0 is easy to miss. The only way around this would be to make the line thicker for all plotted data, which I think would compromise the overall look of the graph.
4affe22cb834760c3fff7d421bfca0e706c5cba3 has been cherry-picked into the 1.1 branch.
Fix verified 1.2.0-dev.1.
Ready for RC testing in https://github.com/phetsims/QA/issues/542. See https://github.com/phetsims/natural-selection/issues/213#issuecomment-683537251 for steps to verify.
Fix verified in 1.1.0-rc2
Noticed with working on #209. If none of the Population checkboxes are checked, then the graph is displaying nothing. In this case, it's not appropriate to display "Zoom out to show data", but we are.
This will not be addressed in the prototype RC.