Show x coordinate when drawing discrete distributions

This commit is contained in:
Sam Nolan 2022-07-19 13:08:45 +10:00
parent 2c903a335e
commit 03edf60663

View File

@ -223,7 +223,7 @@ export function buildVegaSpec(
},
size: [{ value: 100 }],
tooltip: {
signal: "datum.y",
signal: "{ probability: datum.y, value: datum.x }",
},
},
update: {