Merge pull request #862 from quantified-uncertainty/show-x-coordinate-discrete

Show x coordinate when drawing discrete distributions
This commit is contained in:
Ozzie Gooen 2022-07-18 21:13:06 -07:00 committed by GitHub
commit ff2eb42847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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