[IPython-User] IPython.core.display.SVG -- image sizing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[IPython-User] IPython.core.display.SVG -- image sizing

Ian Stokes-Rees
I have code like this right now in an IPython Notebook:

```python
from IPython.core.display import SVG
SVG(filename='us_counties_unemployment_2009.svg')
```

But it always gives me a fixed size output, and I need a smaller (or resizable) image.  I have the file on disk, so ideally I'd like to just do:

```html
<img src='us_counties_unemployment_2009.svg'>
```

but that doesn't work either.

Any suggestions?

TIA!

Ian



_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user