-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
add stephist #2408
add stephist #2408
Conversation
I was just looking for this, would be great to have. Thanks, I hope this gets merged eventually. |
if people are feeling okay with the implementation I can start adding News, Docs and test samples |
Would probably make sense to factor out common functionality with hist |
What's the core maintainers' opinion on picking up a histogram package as a dependency? I've grown tired of re-writing haphazard binning logic in multiple places :( |
You mean a package beyond StatsBase's histogram fitting? |
this is ready I think. Looks like we don't do reference image for this kind of non basic plots? I checked waterfall and tricontourf PRs. Let me know if we want anything else |
Would still be great if you added a reference image, could be one image with a couple of subplots that expose different settings (ideally thick lines so that the visual differ would pick up on it if anything broke). Also, the docs build is currently broken because of an |
Do you have an example of PR adding references imagine? |
The PRs don't add the images themselves, just the code. You can check them in the ReferenceTests folder, all the |
Am I doing it correctly with reference? |
can't seem to find which automatic is too far |
@Moelf this looks like almost there. Maybe a final sprint to make it possible. |
yeah I just don't understand what |
src/stats/hist.jl
Outdated
end | ||
|
||
# plot the values, not the observables, to be in control of updating | ||
bp = stairs!(plot, points[]; plot.attributes..., color=color) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this just needs to be
attr = copy(plot.attributes)
pop!(attr, :weights)
bp = stairs!(plot, points[]; attr..., color=color)
if pass-through of automatic
is the problem
https://github.com/MakieOrg/Makie.jl/actions/runs/4018541242/jobs/6904286091#step:7:613 I think we have made progress, now only the Reference saving is not working, due to what seems to be because it's trying to save Observable? |
I cleaned up the attributes! I think you copied a few attributes from hist, without using them? |
Thanks for merging this. Could we tag a release containing this PR? |
Fantastic, thank you. |
Description
helps #368
Looks stupid right now because I just copied the
Hist
, probably can be simplified, welcome commentsType of change
Delete options that do not apply:
Checklist