carterwward / py-allotax

MIT License
0 stars 0 forks source link

Code for updated allotaxonometer#py-allotax-experimental #5

Closed jstonge closed 3 weeks ago

jstonge commented 3 weeks ago

This PR does two things.

First, the code for the plots were based on mini-allotax, which was an older version than on observablehq. I fixed a bunch of discrepancies in the plots in allotaxonometer#py-allotax-experimental to make it work. In doing so i made some breaking changes (wrt to current py-allotax), that i am fixing with this PR.

Second, I think contour lines are working now. But I exepect that some discrepancies might still be lurking.

With this PR, I update code on observablehq: https://observablehq.com/@jstonge/allotaxonometer-for-all-exp. It is now the equivalent code than on py-allotax, so we can test stuff over there as well.

The PR is essentially a new way to call the different plots. It is now consistent with how we write function that take arguments on observablehq. The index.html changes are minor.

While doing the PR, we might want to add the missing dependencies.