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

top-level clip option #1792

Merged
merged 1 commit into from
Aug 6, 2023
Merged

top-level clip option #1792

merged 1 commit into from
Aug 6, 2023

Conversation

mbostock
Copy link
Member

@mbostock mbostock commented Aug 5, 2023

Adds a top-level clip option that is inherited by marks that don’t specify the clip option explicitly. The axis mark and frame mark deviate from this rule; their clip option defaults to false instead of undefined. This makes it easier to turn on clipping for multiple marks, e.g. for the candlestick example in the other branch.

@mbostock mbostock requested a review from Fil August 5, 2023 01:43
@mbostock mbostock enabled auto-merge (squash) August 6, 2023 16:31
@mbostock mbostock merged commit f5a99d5 into main Aug 6, 2023
1 check passed
@mbostock mbostock deleted the mbostock/default-clip branch August 6, 2023 16:34
Fil pushed a commit that referenced this pull request Aug 21, 2023
chaichontat pushed a commit to chaichontat/plot that referenced this pull request Jan 14, 2024
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

Successfully merging this pull request may close these issues.

2 participants