# ERROR: InitError: KeyError: key "get\_cmap" not found

**URL:** https://discourse.julialang.org/t/error-initerror-keyerror-key-get-cmap-not-found/116542
**Category:** New to Julia
**Created:** [July 2, 2024, 7:05pm UTC](https://discourse.julialang.org/t/error-initerror-keyerror-key-get-cmap-not-found/116542 "2024-07-02T19:05:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)
#### Post date: [July 2, 2024, 7:05pm UTC](https://discourse.julialang.org/t/error-initerror-keyerror-key-get-cmap-not-found/116542/1 "2024-07-02T19:05:56Z")

</div>

I tried to make a new release of [my package](https://github.com/sloisel/MultiGridBarrier.jl). My unit tests all pass (i.e. green checkmark in GitHub’s CI). However, @JuliaRegistrator is refusing to merge [here](https://github.com/JuliaRegistries/General/pull/110245#issuecomment-2203951569) because “automerge guidelines not met”. The [log file](https://github.com/JuliaRegistries/General/actions/runs/9765571842/job/26956535837?pr=110245) reveals an error message “ERROR: InitError: KeyError: key “get\_cmap” not found”. This error message is very rare on the internet, but it eventually leads back to [this](https://github.com/JuliaPy/PyPlot.jl/pull/583).

How do I get back into @JuliaRegistrator’s good graces?

---

<div class="post-metadata">

### Author: ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)
#### Post date: [July 2, 2024, 7:30pm UTC](https://discourse.julialang.org/t/error-initerror-keyerror-key-get-cmap-not-found/116542/2 "2024-07-02T19:30:34Z")

</div>

Sorry to so quickly reply to my own post but I seem to have found the solution by pinning matplotlib to version 3.8.3. [This](https://github.com/sloisel/MultiGridBarrier.jl/commit/b4bfa67b47a8eb7d7b00e265d38c2392bf4643df#commitcomment-143774537) is my commit in my repo, I took it from [this](https://github.com/qojulia/QuantumOptics.jl-documentation/pull/19/files) but that commit has other things as well.

---

<div class="post-metadata">

### Author: ![cgarling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cgarling/32/29278_2.png) [@cgarling](https://discourse.julialang.org/u/cgarling)
#### Post date: [July 8, 2024, 1:53pm UTC](https://discourse.julialang.org/t/error-initerror-keyerror-key-get-cmap-not-found/116542/3 "2024-07-08T13:53:34Z")

</div>

Just FYI, your log showed that you were using v2.11.2 of PyPlot.jl in that CI run, which did not support matplotlib 3.9. PyPlot.jl has been updated (current version v2.11.5) and should now work with matplotlib v3.9.
