Skip to content
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

Hex conversion with symbol not supported for gradient colors #459

Closed
danvinci opened this issue Feb 9, 2021 · 8 comments
Closed

Hex conversion with symbol not supported for gradient colors #459

danvinci opened this issue Feb 9, 2021 · 8 comments

Comments

@danvinci
Copy link

danvinci commented Feb 9, 2021

Hi!

I'm trying to get hex codes for gradient palettes in cgradients() from PlotUtils:

c_map2 = map(x -> hex(x), cgrad(:lime_grad).colors)

The above line works, but if I specify the parameter for hex it doesn't:

c_map1 = map(x -> hex(x,:rrggbbaa), cgrad(:lime_grad).colors)

MethodError: no method matching hex(::ColorTypes.RGBA{Float64}, ::Symbol)

@kimikage
Copy link
Collaborator

kimikage commented Feb 9, 2021

What version of Colors.jl are you using?

Edit:
The styling option of hex was introduced in Colors v0.12.0.
Also, I think the specifications of the return object of PlotUtils.cgrad have changed in v1.0.

julia> PlotUtils.cgrad(:viridis).colors |> typeof # PlotUtils v1.0.10 (which is compatible with Colors v0.12)
ColorSchemes.ColorScheme{Array{RGBA{Float64},1},String,String}
julia> PlotUtils.cgrad(:viridis).colors |> typeof # PlotUtils v0.6.5 (which is also compatible with Colors v0.12)
Array{RGBA{Float64},1}

Since PlotUtils v0.6.5 is also compatible with Colors v0.12, you need to analyze what is restricting the version of Colors.

@danvinci
Copy link
Author

danvinci commented Feb 10, 2021

I'm using the most recent version for all packages (run pkg> update):

  • Colors v0.11.2
  • PlotUtils v0.6.5upda

@kimikage
Copy link
Collaborator

What does pkg> add Colors@0.12 say?

@danvinci
Copy link
Author

Seems a dependency issue with other packages:

(@v1.5) pkg> add Colors@0.12
   Updating registry at `~/.julia/registries/General`
######################################################################## 100.0%
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Plots [91a5bcdd]:
 Plots [91a5bcdd] log:
 ├─possible versions are: [0.12.1-0.12.4, 0.13.0-0.13.1, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.4] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.12.1-0.12.4, 0.13.0-0.13.1, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.4]
 ├─restricted by compatibility requirements with StatsPlots [f3b207a7] to versions: [0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.4]
 │ └─StatsPlots [f3b207a7] log:
 │   ├─possible versions are: [0.10.0-0.10.2, 0.11.0, 0.12.0, 0.13.0, 0.14.0-0.14.19] or uninstalled
 │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.10.0-0.10.2, 0.11.0, 0.12.0, 0.13.0, 0.14.0-0.14.19]
 │   └─restricted by compatibility requirements with Observables [510215fc] to versions: 0.14.1-0.14.19 or uninstalled, leaving only versions: 0.14.1-0.14.19
 │     └─Observables [510215fc] log:
 │       ├─possible versions are: [0.2.0-0.2.3, 0.3.0-0.3.3] or uninstalled
 │       ├─restricted by compatibility requirements with GLMakie [e9467ef8] to versions: [0.2.0-0.2.3, 0.3.0-0.3.3]
 │       │ └─GLMakie [e9467ef8] log:
 │       │   ├─possible versions are: [0.0.1-0.0.18, 0.1.0-0.1.26] or uninstalled
 │       │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1-0.0.18, 0.1.0-0.1.26]
 │       │   ├─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.0.18, 0.1.0-0.1.26] or uninstalled, leaving only versions: [0.0.18, 0.1.0-0.1.26]
 │       │   │ └─Colors [5ae59095] log:
 │       │   │   ├─possible versions are: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.6] or uninstalled
 │       │   │   └─restricted to versions 0.12 by an explicit requirement, leaving only versions 0.12.0-0.12.6
 │       │   ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: [0.0.1-0.0.18, 0.1.0-0.1.5] or uninstalled, leaving only versions: [0.0.18, 0.1.0-0.1.5]
 │       │   │ └─AbstractPlotting [537997a7] log:
 │       │   │   ├─possible versions are: [0.9.0-0.9.27, 0.10.0-0.10.11, 0.11.0-0.11.2, 0.12.0-0.12.18, 0.13.0-0.13.11, 0.14.0-0.14.4, 0.15.0-0.15.17] or uninstalled
 │       │   │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.9.0-0.9.27, 0.10.0-0.10.11, 0.11.0-0.11.2, 0.12.0-0.12.18, 0.13.0-0.13.11, 0.14.0-0.14.4, 0.15.0-0.15.17]
 │       │   │   ├─restricted by compatibility requirements with Makie [ee78f7c6] to versions: [0.9.0-0.9.27, 0.10.0-0.10.11, 0.11.0-0.11.2, 0.12.0-0.12.18, 0.14.0-0.14.4, 0.15.0-0.15.17]
 │       │   │   │ └─Makie [ee78f7c6] log:
 │       │   │   │   ├─possible versions are: [0.9.0-0.9.6, 0.10.0, 0.11.0-0.11.2, 0.12.0] or uninstalled
 │       │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.9.0-0.9.6, 0.10.0, 0.11.0-0.11.2, 0.12.0]
 │       │   │   │   ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: [0.9.0-0.9.6, 0.10.0, 0.11.0] or uninstalled, leaving only versions: [0.9.0-0.9.6, 0.10.0, 0.11.0]
 │       │   │   │   │ └─AbstractPlotting [537997a7] log: see above
 │       │   │   │   ├─restricted by compatibility requirements with ColorVectorSpace [c3611d14] to versions: [0.9.1-0.9.6, 0.10.0, 0.11.0-0.11.2, 0.12.0] or uninstalled, leaving only versions: [0.9.1-0.9.6, 0.10.0, 0.11.0]
 │       │   │   │   │ └─ColorVectorSpace [c3611d14] log:
 │       │   │   │   │   ├─possible versions are: [0.6.0-0.6.2, 0.7.0-0.7.1, 0.8.0-0.8.7, 0.9.0-0.9.1] or uninstalled
 │       │   │   │   │   ├─restricted by compatibility requirements with Images [916415d5] to versions: [0.6.0-0.6.2, 0.7.0-0.7.1, 0.8.0-0.8.7]
 │       │   │   │   │   │ └─Images [916415d5] log:
 │       │   │   │   │   │   ├─possible versions are: [0.17.3, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.2, 0.21.0-0.21.1, 0.22.0-0.22.5, 0.23.0-0.23.3] or uninstalled
 │       │   │   │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.17.3, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.2, 0.21.0-0.21.1, 0.22.0-0.22.5, 0.23.0-0.23.3]
 │       │   │   │   │   │   └─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.19.3, 0.20.0-0.20.2, 0.21.0-0.21.1, 0.22.0-0.22.5, 0.23.0-0.23.3] or uninstalled, leaving only versions: [0.19.3, 0.20.0-0.20.2, 0.21.0-0.21.1, 0.22.0-0.22.5, 0.23.0-0.23.3]
 │       │   │   │   │   │     └─Colors [5ae59095] log: see above
 │       │   │   │   │   └─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.8.4-0.8.7, 0.9.0-0.9.1] or uninstalled, leaving only versions: 0.8.4-0.8.7
 │       │   │   │   │     └─Colors [5ae59095] log: see above
 │       │   │   │   ├─restricted by compatibility requirements with ImageMagick [6218d12a] to versions: [0.9.4-0.9.6, 0.10.0, 0.11.0-0.11.2, 0.12.0] or uninstalled, leaving only versions: [0.9.4-0.9.6, 0.10.0, 0.11.0]
 │       │   │   │   │ └─ImageMagick [6218d12a] log:
 │       │   │   │   │   ├─possible versions are: [0.7.0-0.7.1, 0.7.3-0.7.6, 1.0.0, 1.1.0-1.1.6] or uninstalled
 │       │   │   │   │   ├─restricted by compatibility requirements with GeoMakie [db073c08] to versions: [1.0.0, 1.1.0-1.1.6]
 │       │   │   │   │   │ └─GeoMakie [db073c08] log:
 │       │   │   │   │   │   ├─possible versions are: 0.1.0-0.1.15 or uninstalled
 │       │   │   │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.1.15
 │       │   │   │   │   │   └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.1.0-0.1.14 or uninstalled, leaving only versions: 0.1.0-0.1.14
 │       │   │   │   │   │     └─AbstractPlotting [537997a7] log: see above
 │       │   │   │   │   └─restricted by compatibility requirements with ColorTypes [3da002f7] to versions: [0.7.6, 1.1.1-1.1.6] or uninstalled, leaving only versions: 1.1.1-1.1.6
 │       │   │   │   │     └─ColorTypes [3da002f7] log:
 │       │   │   │   │       ├─possible versions are: [0.7.0-0.7.5, 0.8.0-0.8.1, 0.9.0-0.9.1, 0.10.0-0.10.9] or uninstalled
 │       │   │   │   │       ├─restricted by compatibility requirements with GLMakie [e9467ef8] to versions: [0.7.0-0.7.5, 0.8.0-0.8.1, 0.9.0-0.9.1, 0.10.0-0.10.9]
 │       │   │   │   │       │ └─GLMakie [e9467ef8] log: see above
 │       │   │   │   │       └─restricted by compatibility requirements with Colors [5ae59095] to versions: 0.10.0-0.10.9
 │       │   │   │   │         └─Colors [5ae59095] log: see above
 │       │   │   │   └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: [0.9.0-0.9.6, 0.10.0] or uninstalled, leaving only versions: [0.9.4-0.9.6, 0.10.0]
 │       │   │   │     └─AbstractPlotting [537997a7] log: see above
 │       │   │   ├─restricted by compatibility requirements with GLMakie [e9467ef8] to versions: [0.9.0-0.9.27, 0.10.0-0.10.11, 0.11.1-0.11.2, 0.12.0-0.12.18, 0.13.1-0.13.11, 0.14.0-0.14.4, 0.15.0-0.15.17], leaving only versions: [0.9.0-0.9.27, 0.10.0-0.10.11, 0.11.1-0.11.2, 0.12.0-0.12.18, 0.14.0-0.14.4, 0.15.0-0.15.17]
 │       │   │   │ └─GLMakie [e9467ef8] log: see above
 │       │   │   ├─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.9.27, 0.10.0-0.10.11, 0.11.0-0.11.2, 0.12.0-0.12.18, 0.13.0-0.13.11, 0.14.0-0.14.4, 0.15.0-0.15.17] or uninstalled, leaving only versions: [0.9.27, 0.10.0-0.10.11, 0.11.1-0.11.2, 0.12.0-0.12.18, 0.14.0-0.14.4, 0.15.0-0.15.17]
 │       │   │   │ └─Colors [5ae59095] log: see above
 │       │   │   ├─restricted by compatibility requirements with GeoMakie [db073c08] to versions: [0.9.0-0.9.27, 0.10.0-0.10.11, 0.11.0-0.11.2, 0.13.0-0.13.11], leaving only versions: [0.9.27, 0.10.0-0.10.11, 0.11.1-0.11.2]
 │       │   │   │ └─GeoMakie [db073c08] log: see above
 │       │   │   ├─restricted by compatibility requirements with WGLMakie [276b4fcb] to versions: [0.9.27, 0.10.1-0.10.11, 0.11.0-0.11.2, 0.12.0-0.12.18], leaving only versions: [0.9.27, 0.10.1-0.10.11, 0.11.1-0.11.2]
 │       │   │   │ └─WGLMakie [276b4fcb] log:
 │       │   │   │   ├─possible versions are: [0.1.0-0.1.14, 0.2.0-0.2.12, 0.3.0-0.3.2] or uninstalled
 │       │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.1.0-0.1.14, 0.2.0-0.2.12, 0.3.0-0.3.2]
 │       │   │   │   ├─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.1.10-0.1.14, 0.2.0-0.2.12, 0.3.0-0.3.2] or uninstalled, leaving only versions: [0.1.10-0.1.14, 0.2.0-0.2.12, 0.3.0-0.3.2]
 │       │   │   │   │ └─Colors [5ae59095] log: see above
 │       │   │   │   ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: [0.1.0-0.1.14, 0.2.0-0.2.6] or uninstalled, leaving only versions: [0.1.10-0.1.14, 0.2.0-0.2.6]
 │       │   │   │   │ └─AbstractPlotting [537997a7] log: see above
 │       │   │   │   ├─restricted by compatibility requirements with ShaderAbstractions [65257c39] to versions: [0.2.0-0.2.12, 0.3.0-0.3.2] or uninstalled, leaving only versions: 0.2.0-0.2.6
 │       │   │   │   │ └─ShaderAbstractions [65257c39] log:
 │       │   │   │   │   ├─possible versions are: [0.1.0-0.1.4, 0.2.0-0.2.4] or uninstalled
 │       │   │   │   │   ├─restricted by compatibility requirements with WGLMakie [276b4fcb] to versions: [0.1.1-0.1.4, 0.2.1-0.2.4]
 │       │   │   │   │   │ └─WGLMakie [276b4fcb] log: see above
 │       │   │   │   │   ├─restricted by compatibility requirements with Observables [510215fc] to versions: [0.1.3-0.1.4, 0.2.0-0.2.4] or uninstalled, leaving only versions: [0.1.3-0.1.4, 0.2.1-0.2.4]
 │       │   │   │   │   │ └─Observables [510215fc] log: see above
 │       │   │   │   │   └─restricted by compatibility requirements with ColorTypes [3da002f7] to versions: 0.2.0-0.2.4 or uninstalled, leaving only versions: 0.2.1-0.2.4
 │       │   │   │   │     └─ColorTypes [3da002f7] log: see above
 │       │   │   │   └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: [0.1.0-0.1.14, 0.2.0-0.2.3] or uninstalled, leaving only versions: 0.2.0-0.2.3
 │       │   │   │     └─AbstractPlotting [537997a7] log: see above
 │       │   │   ├─restricted by compatibility requirements with PlotUtils [995b91a9] to versions: [0.9.0-0.9.27, 0.10.0-0.10.6] or uninstalled, leaving only versions: [0.9.27, 0.10.1-0.10.6]
 │       │   │   │ └─PlotUtils [995b91a9] log:
 │       │   │   │   ├─possible versions are: [0.5.0-0.5.8, 0.6.0-0.6.5, 1.0.0-1.0.10] or uninstalled
 │       │   │   │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.5.0-0.5.8, 0.6.0-0.6.5, 1.0.0-1.0.10]
 │       │   │   │   ├─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: [0.6.2-0.6.5, 1.0.0-1.0.10]
 │       │   │   │   │ └─AbstractPlotting [537997a7] log: see above
 │       │   │   │   └─restricted by compatibility requirements with Plots [91a5bcdd] to versions: [0.5.0-0.5.8, 0.6.0-0.6.5], leaving only versions: 0.6.2-0.6.5
 │       │   │   │     └─Plots [91a5bcdd] log: see above
 │       │   │   └─restricted by compatibility requirements with WGLMakie [276b4fcb] to versions: 0.10.1-0.10.11, leaving only versions: 0.10.1-0.10.6
 │       │   │     └─WGLMakie [276b4fcb] log: see above
 │       │   └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: [0.0.1-0.0.18, 0.1.0-0.1.2] or uninstalled, leaving only versions: [0.0.18, 0.1.0-0.1.2]
 │       │     └─AbstractPlotting [537997a7] log: see above
 │       └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.3.1-0.3.3
 │         └─AbstractPlotting [537997a7] log: see above
 ├─restricted by compatibility requirements with RecipesBase [3cdcf5f2] to versions: [0.12.1-0.12.4, 0.13.0-0.13.1, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4] or uninstalled, leaving only versions: [0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4]
 │ └─RecipesBase [3cdcf5f2] log:
 │   ├─possible versions are: [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0-1.1.1] or uninstalled
 │   ├─restricted by compatibility requirements with DataInterpolations [82cc6244] to versions: [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0-1.1.1]
 │   │ └─DataInterpolations [82cc6244] log:
 │   │   ├─possible versions are: [0.1.0, 0.2.0, 1.0.0, 1.1.0-1.1.1, 1.2.0, 1.3.0-1.3.1, 2.0.0-2.0.1, 3.0.0-3.0.1, 3.1.0-3.1.3, 3.2.0-3.2.3, 3.3.0-3.3.1] or uninstalled
 │   │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.1.0, 0.2.0, 1.0.0, 1.1.0-1.1.1, 1.2.0, 1.3.0-1.3.1, 2.0.0-2.0.1, 3.0.0-3.0.1, 3.1.0-3.1.3, 3.2.0-3.2.3, 3.3.0-3.3.1]
 │   │   └─restricted by compatibility requirements with RecipesBase [3cdcf5f2] to versions: [0.1.0, 0.2.0, 1.0.0, 1.1.0-1.1.1, 1.2.0, 1.3.0-1.3.1] or uninstalled, leaving only versions: [0.1.0, 0.2.0, 1.0.0, 1.1.0-1.1.1, 1.2.0, 1.3.0-1.3.1]
 │   │     └─RecipesBase [3cdcf5f2] log: see above
 │   ├─restricted by compatibility requirements with StatsPlots [f3b207a7] to versions: [0.5.0, 0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0-1.1.1]
 │   │ └─StatsPlots [f3b207a7] log: see above
 │   ├─restricted by compatibility requirements with JuliaDB [a93385a2] to versions: [0.4.0, 0.5.0, 0.6.0, 0.7.0], leaving only versions: [0.5.0, 0.6.0, 0.7.0]
 │   │ └─JuliaDB [a93385a2] log:
 │   │   ├─possible versions are: [0.9.0, 0.10.0, 0.11.0-0.11.2, 0.12.0, 0.13.0-0.13.1] or uninstalled
 │   │   └─restricted to versions * by an explicit requirement, leaving only versions [0.9.0, 0.10.0, 0.11.0-0.11.2, 0.12.0, 0.13.0-0.13.1]
 │   └─restricted by compatibility requirements with GeoInterface [cf35fbd7] to versions: [0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0-1.1.1], leaving only versions: [0.6.0, 0.7.0]
 │     └─GeoInterface [cf35fbd7] log:
 │       ├─possible versions are: [0.4.0-0.4.1, 0.5.0-0.5.4] or uninstalled
 │       └─restricted by compatibility requirements with GeoMakie [db073c08] to versions: 0.5.0-0.5.4
 │         └─GeoMakie [db073c08] log: see above
 ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.4] or uninstalled, leaving only versions: [0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4]
 │ └─StaticArrays [90137ffa] log:
 │   ├─possible versions are: [0.8.0-0.8.3, 0.9.0-0.9.2, 0.10.0, 0.10.2-0.10.3, 0.11.0-0.11.1, 0.12.0-0.12.5, 1.0.0-1.0.1] or uninstalled
 │   ├─restricted by compatibility requirements with Images [916415d5] to versions: [0.8.0-0.8.3, 0.9.0-0.9.2, 0.10.0, 0.10.2-0.10.3, 0.11.0-0.11.1, 0.12.0-0.12.5, 1.0.0-1.0.1]
 │   │ └─Images [916415d5] log: see above
 │   └─restricted by compatibility requirements with AbstractPlotting [537997a7] to versions: 0.12.0-0.12.5
 │     └─AbstractPlotting [537997a7] log: see above
 ├─restricted by compatibility requirements with FixedPointNumbers [53c48c17] to versions: [0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.4] or uninstalled, leaving only versions: [0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4]
 │ └─FixedPointNumbers [53c48c17] log:
 │   ├─possible versions are: [0.5.0-0.5.3, 0.6.0-0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4] or uninstalled
 │   ├─restricted by compatibility requirements with GLMakie [e9467ef8] to versions: [0.5.0-0.5.3, 0.6.0-0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4]
 │   │ └─GLMakie [e9467ef8] log: see above
 │   ├─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.6.0-0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4]
 │   │ └─Colors [5ae59095] log: see above
 │   ├─restricted by compatibility requirements with ImageCore [a09fc81d] to versions: [0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4]
 │   │ └─ImageCore [a09fc81d] log:
 │   │   ├─possible versions are: [0.7.0-0.7.4, 0.8.0-0.8.20] or uninstalled
 │   │   ├─restricted by compatibility requirements with Images [916415d5] to versions: [0.7.0-0.7.4, 0.8.0-0.8.20]
 │   │   │ └─Images [916415d5] log: see above
 │   │   └─restricted by compatibility requirements with Colors [5ae59095] to versions: 0.8.12-0.8.20 or uninstalled, leaving only versions: 0.8.12-0.8.20
 │   │     └─Colors [5ae59095] log: see above
 │   └─restricted by compatibility requirements with Plots [91a5bcdd] to versions: [0.5.0-0.5.3, 0.6.0-0.6.1], leaving only versions: 0.6.1
 │     └─Plots [91a5bcdd] log: see above
 ├─restricted by compatibility requirements with PlotUtils [995b91a9] to versions: [0.12.1-0.12.4, 0.13.0-0.13.1, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14] or uninstalled, leaving only versions: [0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.1, 0.28.0-0.28.4]
 │ └─PlotUtils [995b91a9] log: see above
 └─restricted by compatibility requirements with GeometryTypes [4d00f742] to versions: [0.12.1-0.12.4, 0.13.0-0.13.1, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.29.5-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.4] or uninstalled — no versions left
   └─GeometryTypes [4d00f742] log:
     ├─possible versions are: [0.6.0-0.6.2, 0.7.0-0.7.10, 0.8.0-0.8.4] or uninstalled
     ├─restricted by compatibility requirements with FixedPointNumbers [53c48c17] to versions: [0.7.4-0.7.10, 0.8.0-0.8.4] or uninstalled
     │ └─FixedPointNumbers [53c48c17] log: see above
     └─restricted by compatibility requirements with ColorTypes [3da002f7] to versions: 0.8.2-0.8.4 or uninstalled
       └─ColorTypes [3da002f7] log: see above

@kimikage
Copy link
Collaborator

kimikage commented Feb 11, 2021

Dependency problems don't always have a single cause, but I am concerned about the restrictions imposed by RecipesBase.jl.

https://github.com/JuliaData/JuliaDB.jl/pulls/app%2Fgithub-actions
Why is JuliaDB.jl in that state? 🤔

cf:
JuliaData/JuliaDB.jl#374
JuliaData/JuliaDB.jl#350 (comment)

@kimikage
Copy link
Collaborator

I'm not a user or a developer with commit privileges of JuliaDB, so I'm not going to take any specific action on this issue. Perhaps Discourse, Slack, etc. would be a good way to get the attention of the maintainers of JuliaDB. If that doesn't solve the problem, I think the only solution is to manually edit the compatibility caps of JuliaDB (or something).

I don't think it's a good idea to backport the feature to Colors v0.11. Although it's not going as well as we'd like, we should move forward to the release of Colors v1.0.

@danvinci
Copy link
Author

Ok no prob - it's not anything urgent either, is me playing with a side project ;)

I'd keep the issue open (in case someone else runs into this as well) and eventually close it when JuliaDB's compatibility caps are updated.

@timholy
Copy link
Member

timholy commented Feb 24, 2021

This should be filed with packages that are capping Colors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants