-
Notifications
You must be signed in to change notification settings - Fork 37
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
introduce rgbplot #339
base: main
Are you sure you want to change the base?
introduce rgbplot #339
Conversation
Amazing! One question: is there a reason you don't use a There is quite a bit if code duplication here, and the |
I’m just not that familiar with writing plot recipes. I can try to change it. |
Yes its a little mysterious, but there is a So something like this should work: isrgb = get(plotattributes, :rgb, false) And bands = get(plotattributes, :bands, 1:3) |
Ok, I'll give it a try when I find the time again. How does one properly document the behaviour for plot recipes? |
I don't really know how to document them! in all my packages the plotting is very poorly documented |
this looks promising 😄 , any change on finishing this ? |
Hi Lazaro! Well, one would have to re-run the tests and as far as I was concerned, this was pretty much finished. But Rafael suggested to use just "plot" with a rgb keyword instead of "rgbplot". I didn't have the time to include the suggested changes and well, I still don't really have. |
Hi! I've just put my plotting code into a dedicated
rgbplot
function, which should make plotting rasters as rgb images convenient :) I've also modified the skipmissing stuff, because I had errors when the missingval wasnothing
.