Update 7.py

This commit is contained in:
xixu-me committed 2024-05-09 08:42:21 +08:00
1 parent 708dfbe251
commit 603a581a78
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ if __name__ == "__main__":
image0 = createBox()
plt.figure()
plt.subplot(1, 2, 1)
plt.imshow(image0, vmin=0, vmax=255, cmap=plt.cm.gray) # type: ignore
plt.imshow(image0, vmin=0, vmax=255, cmap="gray") # type: ignore
plt.title("idel image")
plt.axis("off")
image_hist0 = histogram(image0)