18 lines
504 B
Markdown
18 lines
504 B
Markdown
|
%% Cell type:code id:5 tags:
|
||
|
|
||
|
``` python
|
||
|
from IPython.display import SVG, display
|
||
|
|
||
|
svg = """<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
||
|
<circle cx="50" cy="50" r="50"/>
|
||
|
</svg>"""
|
||
|
|
||
|
display(SVG(svg))
|
||
|
```
|
||
|
|
||
|
%% Output
|
||
|
|
||
|
![](data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="50"/></svg>)
|
||
|
|
||
|
![](data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="50"/></svg>)
|