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

plot.add-boxwhisker - A second take on box-whisker plots #287

Merged
merged 10 commits into from
Oct 26, 2023

Conversation

jamesrswift
Copy link
Contributor

In PR #265, I implemented a box and whisker chart following the style of other charts, rather than implementing it as a plot. I believe this was a mistake as it quickly became cumbersome adding more features.

Rather than implement a box and whisker chart all in one go, I've opted to make a pull request where drawing a single box and whisker is handled by a plot.

image

Copy link
Member

@johannes-wolf johannes-wolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very nice! Some comments…

src/lib/plot/boxwhisker.typ Show resolved Hide resolved
src/lib/plot/boxwhisker.typ Show resolved Hide resolved
src/lib/plot/boxwhisker.typ Show resolved Hide resolved
@johannes-wolf johannes-wolf self-requested a review October 25, 2023 21:17
@jamesrswift
Copy link
Contributor Author

image
Plot elements

image
Chart

@johannes-wolf johannes-wolf self-requested a review October 25, 2023 21:46
@jamesrswift
Copy link
Contributor Author

Last thing to do is handle passing style through the chart. I'm an absolute novice with styles so can I leave that to one of the other contributors?

@johannes-wolf
Copy link
Member

Last thing to do is handle passing style through the chart. I'm an absolute novice with styles so can I leave that to one of the other contributors?

Yes, I can do this in a follow-up PR.

@johannes-wolf johannes-wolf changed the base branch from master to redesign-internals October 26, 2023 12:04
@johannes-wolf johannes-wolf merged commit 27daf02 into cetz-package:redesign-internals Oct 26, 2023
1 check failed
@jamesrswift jamesrswift deleted the plot-boxwhisker branch October 26, 2023 13:28
@jamesrswift jamesrswift restored the plot-boxwhisker branch October 26, 2023 13:29
johannes-wolf added a commit that referenced this pull request Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants