Skip to content

Commit

Permalink
fix(#1532): correct domain for filter score histogram (#1540)
Browse files Browse the repository at this point in the history
This PR forces the histogram to display a correct range and domain from 0 to 1

Closes #1532

(cherry picked from commit c66f292)
  • Loading branch information
leiyre authored and frascuchon committed Jun 6, 2022
1 parent 0e04e98 commit 7478d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/commons/header/filters/FilterScore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default {
},
encoding: {
x: {
scale: { zero: true },
scale: { nice: 1 },
bin: { maxbins: 100, extent: [0.0, 1.0] },
field: "key",
type: "quantitative",
Expand Down

0 comments on commit 7478d6c

Please sign in to comment.