How to display SVG image in colab

Viewed 147

I'm loading an SVG file to view in colab

I tried,

from google.colab import files
uploaded = files.upload()

from google.colab.patches import cv2, cv2_imshow
import matplotlib.pyplot as plt
plt.imshow(cv2.imread("img.SVG"))

But this didn't work.

Any suggestions?

0 Answers
Related