Forgot to save file before committing
Browse files- interpretter_notes.py +6 -0
interpretter_notes.py
CHANGED
|
@@ -172,4 +172,10 @@ array([43, 0, 0], dtype=uint8)
|
|
| 172 |
array([43, 0, 0], dtype=uint8)
|
| 173 |
>>> m[0, 0]
|
| 174 |
43
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
"""
|
|
|
|
| 172 |
array([43, 0, 0], dtype=uint8)
|
| 173 |
>>> m[0, 0]
|
| 174 |
43
|
| 175 |
+
|
| 176 |
+
>>> z[:, :, 1] = m[:, :]*4 %256
|
| 177 |
+
>>> z[:, :, 2] = m[:, :]*5 %256
|
| 178 |
+
>>> plt.imshow(z)
|
| 179 |
+
<matplotlib.image.AxesImage object at 0x7f8da4ad7d30>
|
| 180 |
+
>>> plt.show()
|
| 181 |
"""
|