Skip to content

Commit 2f3e464

Browse files
committed
Use note directive.
1 parent a802879 commit 2f3e464

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/tutorial-svd.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,12 @@ plt.imshow(np.transpose(reconstructed, (1, 2, 0)))
380380
plt.show()
381381
```
382382

383-
In fact, `imshow` peforms this clipping under-the-hood, so if you skip the first line in the previous code cell, you might see a warning message saying `"Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers)."`
383+
```{note}
384+
In fact, `imshow` peforms this clipping under-the-hood, so if you skip the first
385+
line in the previous code cell, you might see a warning message saying
386+
`"Clipping input data to the valid range for imshow with RGB data ([0..1] for
387+
floats or [0..255] for integers)."`
388+
```
384389

385390
Now, to do the approximation, we must choose only the first `k` singular values for each color channel. This can be done using the following syntax:
386391

0 commit comments

Comments
 (0)