Skip to content

Issue with get_cmap() deprecation  #582

Closed
@a2ray

Description

@a2ray

Hi, it seems that all my package tests and builds on GitHub fail (including JuliaRegistrator) with

ERROR: InitError: KeyError: key "get_cmap" not found
Stacktrace:
  [1] __getproperty
    @ /tmp/jl_j47t6l/packages/PyCall/1gn3u/src/PyCall.jl:313 [inlined]
  [2] getproperty
    @ /tmp/jl_j47t6l/packages/PyCall/1gn3u/src/PyCall.jl:317 [inlined]
  [3] init_colormaps()
    @ PyPlot /tmp/jl_j47t6l/packages/PyPlot/2MlrT/src/colormaps.jl:57
  [4] __init__()
    @ PyPlot /tmp/jl_j47t6l/packages/PyPlot/2MlrT/src/init.jl:208

and this can be traced to PyPlot here:

copy!(cm_get_cmap, cm."get_cmap")

Can we get around this or do I have to specify a version of matplotlib through Conda in my package that does not deprecate get_cmap() ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions