# Colorschemes stopped working

**URL:** <https://discourse.julialang.org/t/colorschemes-stopped-working/61574>\
**Category:** Visualization\
**Created:** [May 21, 2021, 10:52am UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574 "2021-05-21T10:52:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tbl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbl/32/5984_2.png) [@Tbl](https://discourse.julialang.org/u/Tbl)\
**Post date:** [May 21, 2021, 10:52am UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574/1 "2021-05-21T10:52:06Z")

</div>

I have a rather strange bug. For seemingly no reason everything related to colorschemes.jl stopped working for me in Julia 1.6, Plots 1.0.14. Colorschemes from [ColorSchemes · Plots](https://docs.juliaplots.org/latest/generated/colorschemes/) are not available too. For example

```julia
using Plots
palette(:blues,7)
cgrad(:turbo)

```

returns errors, in the first command the proper method is not present, in the second `:turbo` is not present. The strange thing is the test are good, so I am not even sure how to provide some more detailed information.

On my second computer everything works fine.

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [May 21, 2021, 11:08am UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574/2 "2021-05-21T11:08:24Z")

</div>

why are you on such an old version of Plots? The current version is 1.15.2

---

<div class="post-metadata">

**Author:** ![Tbl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbl/32/5984_2.png) [@Tbl](https://discourse.julialang.org/u/Tbl)\
**Post date:** [May 21, 2021, 12:49pm UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574/3 "2021-05-21T12:49:18Z")

</div>

I have no idea, updating Plots was the first thing I’ve tried. Julia refuses to update Plots to a higher version than 1.0.14.

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [May 21, 2021, 12:58pm UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574/4 "2021-05-21T12:58:05Z")

</div>

If you try to force it you will get an error message showing you which packages hold you back

```julia
pkg> add Plots@1.15.2

```

---

<div class="post-metadata">

**Author:** ![Tbl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbl/32/5984_2.png) [@Tbl](https://discourse.julialang.org/u/Tbl)\
**Post date:** [May 21, 2021, 1:20pm UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574/5 "2021-05-21T13:20:13Z")

</div>

I’ve somehow missed information that package `Bio` is depreciated and you should use `BioSequences` instead. It truly pushed my `Plots` into ancient version. Thanks, now I’ll know how to deal with such problems!

---

<div class="post-metadata">

**Author:** ![ptoche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ptoche/32/23554_2.png) [@ptoche](https://discourse.julialang.org/u/ptoche)\
**Post date:** [May 22, 2021, 4:52am UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574/6 "2021-05-22T04:52:52Z")

</div>

I’ve had this happen more than once now. There doesn’t seem to be a super-robust smooth way to avoid this. I’d recommend that every time you hit `Pkg.add("something")` or `Pkg.update()` you pay close attention to the list of downgraded packages. If your `Plots` was downgraded it will tell you why. If it’s downgraded because of a package you no longer use, you remove that package and add `Plots` again. If you get to a point where `Plots` simply doesn’t want to be upgraded, you destroy the `Manifest.toml` and `Project.toml` in your environment and remove (selectively or not, depends on how annoyed you are at the time) the package repo inside `.julia`. Then you re-add all the packages you really need, one by one, paying super close attention to which packages are being downgraded and when. Make sure you keep projects you care about inside their own environments, so you don’t have to do that too often. 🤪
