-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone
Description
Bug report
Bug summary
Since 3.0.3 imshow() produces "inverted" colors, instead of just including the image as is.
Code for reproduction
from PIL import Image
import matplotlib.pyplot as plt
img = Image.open("map.png")
plt.imshow(img)
plt.savefig("plot.png")
Expected outcome
(until 3.0.2)
Matplotlib version
- Operating system: win 7/10
- Matplotlib version: 3.0.3, 3.1.0
- Matplotlib backend (
print(matplotlib.get_backend())
): TkAgg - Python version: 3.7.2
- Jupyter version (if applicable):
- Other libraries: Pillow (6.0.0)
matplotlib installed from pip
arturomoncadatorres and spometun
Metadata
Metadata
Assignees
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.