squiggle icon indicating copy to clipboard operation
squiggle copied to clipboard

Playground doesn't persist View/Sampling Settings

Open cab404 opened this issue 2 years ago • 3 comments

These are probably expected to be saved in a link as well.

cab404 avatar Mar 29 '23 16:03 cab404

No need to persist View Settings, since we have programmable plots now (#1716).

berekuk avatar Apr 24 '23 20:04 berekuk

No need to persist View Settings, since we have programmable plots now (#1716).

Can you set sample count as well?

cab404 avatar Sep 01 '23 11:09 cab404

Not yet. Sample counts affect the execution, so it's not clear how to do this.

Special syntax to set sample count at the top of the script would be safe; for other scenarios, it's not clear if we should do withSampleCount(expression, sampleCount) (#1114) and keep Squiggle pure or sacrifice some purity for convenience.

Note that withSampleCount alone won't be enough to remove the UI setting, because it makes other things less convenient (hides all bindings).

berekuk avatar Sep 03 '23 01:09 berekuk