probmods / webppl-viz

Visualization for WebPPL
http://probmods.github.io/webppl-viz/
Other
14 stars 9 forks source link

viz.auto inappropriately plots densities for distributions with integer support #60

Closed hawkrobe closed 7 years ago

hawkrobe commented 7 years ago

e.g.

viz(Binomial({p: .5, n: 5}))
longouyang commented 7 years ago

A basic fix is in 6209f32, which handles integer supports for the univariate case (but not any higher dimensionality cases).

Even this took basic fix me a while to implement, as the library has become really hamstrung by early architectural choices. So I'm going to freeze development for now and focus on the big overhaul.