-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Recipes #42
Comments
👍 This is great. Colors based on correlations are a nice touch! Could Plots just have this as a function |
Yeah that's probably reasonable too... although it would be really cool to implement it as a recipe attached to the OnlineStats.CovarianceMatrix. We could do things like add an |
I like the updating idea. Maybe OnlineStats could have an |
This works on dev now:
|
This is really cool! If you allow me a remark then it would be to reduce the overplotting a bit. The circles seem to be suboptimal for this type of plot. |
See: JuliaML/MLPlots.jl#2 |
See: JuliaML/MLPlots.jl#5 I'm experimenting with a method
This may make |
The purpose of recipes always appeared to me to be reusable small building blocks for things that you don't usually plot on their own. The ellipse seems like a good example. One rarely wants to plot just an ellipse, but there may be reasons (such as PCA) to include one in the plot |
I agree... had the same thought after I posted. However, it probably makes more sense to bypass the PlotRecipe type and just create a new standalone type:
I could keep PlotRecipe around just for informational purposes, but no real dispatch use. |
I added the abstract type
PlotRecipe
, which will hopefully give a straightforward framework to create complex plots, and also give package authors nice ways to visualize parts of their packages.An example, which could be the basis of an overlay of PCA results, among other things:
and the recipe is defined like:
If anyone has ideas for cool recipes that should be included, please comment. I'm thinking that it might make sense to have a separate repo PlotRecipes.jl which compiles a library of them...
The text was updated successfully, but these errors were encountered: