We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a plot specifies an inset as well as axis marks, then the resulting height causes y labels to overlap if the data only produces two bands:
Plot.plot({ inset: 20, marks: [ Plot.axisX({anchor: "top"}), Plot.axisX({anchor: "bottom"}), Plot.dot("AB", {y: d => d, x: 0}) ] })
Screenshot:
The text was updated successfully, but these errors were encountered:
I don’t think the auto height accounts for insets. Not sure if we can do that, so this might be intended behavior.
Sorry, something went wrong.
@mbostock Should I turn the issue into a feature request to consider insets when calculating the height?
Fil
No branches or pull requests
If a plot specifies an inset as well as axis marks, then the resulting height causes y labels to overlap if the data only produces two bands:
Screenshot:
The text was updated successfully, but these errors were encountered: