Merge pull request #862 from quantified-uncertainty/show-x-coordinate-discrete
Show x coordinate when drawing discrete distributions
This commit is contained in:
commit
ff2eb42847
|
@ -223,7 +223,7 @@ export function buildVegaSpec(
|
||||||
},
|
},
|
||||||
size: [{ value: 100 }],
|
size: [{ value: 100 }],
|
||||||
tooltip: {
|
tooltip: {
|
||||||
signal: "datum.y",
|
signal: "{ probability: datum.y, value: datum.x }",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
update: {
|
update: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user