Skip to content

Move grid option to the axis #353

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

Merged
merged 1 commit into from
May 24, 2025
Merged

Move grid option to the axis #353

merged 1 commit into from
May 24, 2025

Conversation

mauriciopoppe
Copy link
Owner

@mauriciopoppe mauriciopoppe commented May 24, 2025

Moving the axis option from the top level object to the axis objects. Now the API looks like https://observablehq.com/plot/marks/axis

Breaking change

  • If you had grid: true set in the object sent to functionPlot then move the property to the x and y properties.

Fixes: #299

Moving the axis option from the top level object to the axis objects.
Now the API looks like https://observablehq.com/plot/marks/axis

**Breaking change**

- If you had `grid: true` set in the object sent to functionPlot
  then move the property to the `x` and `y` properties.
@mauriciopoppe mauriciopoppe merged commit eef0280 into master May 24, 2025
4 checks passed
@mauriciopoppe mauriciopoppe deleted the move-grid-to-axis branch May 24, 2025 21:49
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.

[API Design] Refactor option grid to be in the axis objects
1 participant