Skip to content

matplotlib.pyplot.imshow does not work as expected #11319

@Kulbear

Description

@Kulbear

Bug report

Bug summary

matplotlib.pyplot.imshow does not work as expected.

Actual outcome

You can see I actually add 4 times mean (which is 24 for this image), and there is nothing changed.

image

Expected outcome

After uncommenting the line I assigned one pixel to value 0. It changed to:

image

Matplotlib version

  • Operating system: Window 10
  • Matplotlib version: 2.2.2
  • Matplotlib backend: module://ipykernel.pylab.backend_inline
  • Python version: 3.6.5
  • Jupyter version (if applicable): jupyter==1.0.0
    jupyter-client==5.2.3
    jupyter-console==5.2.0
    jupyter-core==4.4.0
    jupyterlab==0.32.1
    jupyterlab-launcher==0.10.5

pip

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