-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Labels
enhancementNew feature or requestNew feature or request
Description
autoHeight with the default round:true option sometimes leaves too much white space. In the chart below it returns a value of 580, when ideally it should be 556px.
Plot.plot({
x: {
percent: true,
label: "Frequency (%) →"
},
height: 556,
y: {
label: null
},
marks: [
Plot.gridX({interval: 1}),
Plot.axisX({anchor: "top"}),
Plot.axisX({anchor: "bottom", label: null}),
Plot.barX(alphabet, {x: "frequency", y: "letter", fill: "steelblue"}),
Plot.ruleX([0])
]
})
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request