Skip to content
New issue

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

clip: true clips the axes’ labels #1803

Closed
Fil opened this issue Aug 14, 2023 · 0 comments · Fixed by #1804
Closed

clip: true clips the axes’ labels #1803

Fil opened this issue Aug 14, 2023 · 0 comments · Fixed by #1804
Assignees
Labels
bug Something isn’t working

Comments

@Fil
Copy link
Contributor

Fil commented Aug 14, 2023

This should show "↑ Close" as the y axis label, but the label gets clipped.

Plot.plot({
  clip: true,
  x: { domain: [new Date(2015, 0, 1), new Date(2015, 3, 1)] },
  marks: [
    Plot.areaY(aapl, { x: "Date", y: "Close", fill: "#eee" }),
    Plot.lineY(aapl, { x: "Date", y: "Close" })
  ]
})

Ref: #1792

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant