Skip to content

when launching tastymap ui: AttributeError: module 'panel.widgets' has no attribute 'ColorMap' #14

Description

@JulianGiles

ALL software version info

# Name                    Version                   Build  Channel
panel                     1.2.3              pyhd8ed1ab_0    conda-forge
tastymap                  0.3.0                    pypi_0    pypi
bokeh                     3.2.2              pyhd8ed1ab_0    conda-forge
python                    3.11.5          hab00c5b_0_cpython    conda-forge
jupyter                   1.0.0           py311h38be061_8    conda-forge
notebook                  7.0.4              pyhd8ed1ab_0    conda-forge

Description of expected behavior and the observed behavior

When running tastymap ui in the terminal I get:

Traceback (most recent call last):
  File "/user/jgiles/mambaforge/envs/wradlib4/bin/tastymap", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/user/jgiles/mambaforge/envs/wradlib4/lib/python3.11/site-packages/tastymap/cli.py", line 12, in main
    TastyKitchen().serve(port=8888, show=True)
    ^^^^^^^^^^^^^^
  File "/user/jgiles/mambaforge/envs/wradlib4/lib/python3.11/site-packages/tastymap/ui.py", line 147, in __init__
    self.cmap_input = pn.widgets.ColorMap(
                      ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'panel.widgets' has no attribute 'ColorMap'

Complete, minimal, self-contained example code that reproduces the issue

# in a terminal
tastymap ui

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions