summaryrefslogtreecommitdiff
path: root/doc/source/user/plot_gray.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/user/plot_gray.py')
-rw-r--r--doc/source/user/plot_gray.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/source/user/plot_gray.py b/doc/source/user/plot_gray.py
deleted file mode 100644
index 6cb46bbe4..000000000
--- a/doc/source/user/plot_gray.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from scipy import misc
-import matplotlib.pyplot as plt
-import numpy as np
-
-img = misc.face()
-img_array = img / 255
-img_gray = img_array @ [0.2126, 0.7152, 0.0722]
-plt.imshow(img_gray, cmap="gray")