-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Problems with conversion of Unsigned
to RGB
#118
Comments
@BeastyBlacksmith, do you know why this is exposed in |
This predates my time quite a bit. But I agree, that this is type piracy and we should get rid of it. |
Thanks. @mateuszbaran you can make a PR changing this to an internal method, but you'll have to run |
Here is a list of all dependents: https://juliahub.com/ui/Packages/PlotUtils/YveHG/1.0.11?t=2 |
That's quite a lot of dependent packages. I could check if removing it breaks Plots.jl but going through all of these packages is a bit too much 😅 . |
I've accidentally been using
Base.convert
method from this package that convertsUnsigned
toRGB
. This is type-unstable (which is easy to fix) but it also looks like type piracy, so this method likely shouldn't even be in this package. Here is that method:PlotUtils.jl/src/color_utils.jl
Lines 96 to 99 in 44e45ec
The text was updated successfully, but these errors were encountered: