Really sorry, but recently we released Squiggle 0.8, which added a few features, but took away some things (that we thought were kind of footguns) that you used. So the model is now broken, but can easily be fixed.
2. Instead of Plot.fn(), it’s now Plot.distFn() or Plot.numericFn(), depending on if its returning a number or distribution. Note that these are now more powerful—you can adjust the axes scales, including adding custom symlog scales. I added a symlog yScale.
Also, in the newer version, you can specify function ranges. Like,
This is invalid where n=0, so I changed the range to start slightly above that. (You can also imagine other ways of doing that)
In the future, we really only plan to have breaking changes in main version numbers, and we’ll watch them on Squiggle Hub. I didn’t see that there were recent active Squiggle models. Sorry for the confusion, again!
Excited to see this!
Really sorry, but recently we released Squiggle 0.8, which added a few features, but took away some things (that we thought were kind of footguns) that you used. So the model is now broken, but can easily be fixed.
I fixed it here, with some changes to the plots.
I replaced “#” comments with ”//” comments.
2. Instead of Plot.fn(), it’s now Plot.distFn() or Plot.numericFn(), depending on if its returning a number or distribution. Note that these are now more powerful—you can adjust the axes scales, including adding custom symlog scales. I added a symlog yScale.
Also, in the newer version, you can specify function ranges. Like,
You have the code,
This is invalid where n=0, so I changed the range to start slightly above that. (You can also imagine other ways of doing that)
In the future, we really only plan to have breaking changes in main version numbers, and we’ll watch them on Squiggle Hub. I didn’t see that there were recent active Squiggle models. Sorry for the confusion, again!
Thanks for this! I think I’ve replaced the relevant links. (And no need to apologize.)
Also, do feel free to post the model on Squiggle Hub. I haven’t formally announced it here yet, but people are welcome to begin using it.