probmods / webppl-viz

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

Negative numbers aren't plotted in right order #13

Closed owainevans closed 8 years ago

owainevans commented 8 years ago

Plotting discrete erp with positive and negative values:

viz.vegaPrint(ParticleFilter(function() {
  return {x: uniformDraw([-10,-20,0,10,20])};
},500))
longouyang commented 8 years ago

Fixed in 63e58b296d76b5ef27c8949484d4c91e6ad2dbbb, I believe (lemme know if that doesn't work for you)

owainevans commented 8 years ago

yep, works for me!

On 5 April 2016 at 00:27, Long Ouyang notifications@github.com wrote:

Closed #13 https://github.com/probmods/webppl-viz/issues/13.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/probmods/webppl-viz/issues/13#event-614407213