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

rect exceeds domain #518

Closed
EE2dev opened this issue Aug 21, 2021 · 1 comment
Closed

rect exceeds domain #518

EE2dev opened this issue Aug 21, 2021 · 1 comment

Comments

@EE2dev
Copy link
Contributor

EE2dev commented Aug 21, 2021

Reducing the domain for a plot with Plot.rect() leads to a rectangle larger than the domain

https://observablehq.com/d/cf99f3f3d9471fc7

@mbostock
Copy link
Member

This is the intended behavior. You can enable the clamp scale option if you like. See also #165 for a proposed feature regarding clipping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants