-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
ecdf plot plus internal fixes #1444
Conversation
@@ -150,7 +150,7 @@ function apply_convert!(P, attributes::Attributes, x::PlotSpec{S}) where S | |||
for (k, v) in pairs(kwargs) | |||
attributes[k] = v | |||
end | |||
return (plottype(P, S), args) | |||
return (S, args) |
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.
@SimonDanisch, I'm trying your suggestion here (which fixes the ECDFPlot
bug) but I was wondering: should this actually be (plottype(S, P), args)
, so that the plot type suggested by the conversion pipeline, i.e. S
, takes precedence, but if that is Any
, it falls back to P
?
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.
Ah... maybe that was the intention... Yeah, if plottype(S, P)
does that, it sounds like a plan ;)
@piever it would be cleaner to separate the ECDF plot PR, which does not touch Makie's internals, from this PR, which does change the internals of Makie. I'd prefer if you made the necessary changes separately and then I use them in that PR. |
Thanks! |
@sethaxen, I'm continuing #1310 here, because it looks like it uncovered a small issue in Makie's conversion mechanism that should be addressed at the same time.