Skip to content

Matplotlib Deprecation Warning: imshow #118

@pythonic2020

Description

@pythonic2020

I intermittently get this warning

C:\Users\me\Miniconda3\envs\py38\lib\site-packages\spectral\graphics\spypylab.py:27: MatplotlibDeprecationWarning: 
The keymap.all_axes rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
  mpl.rcParams['keymap.all_axes'] = ''

after invoking imshow using this code in a Jupyter notebook, Python 3.8.6, matplotlib 3.3.3:

from spectral.graphics.spypylab import imshow 

view = imshow(data=cube1, bands=(76, 83, 92), origin='upper', stretch=(0.08, 0.98),
              source=cube1, title='Cube - Bands 76-83-92/RGB', figsize=(6, 6))

The warning does not effect imshow function as far as I can tell.

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