Show More
@@ -231,7 +231,7 b' class RichIPythonWidget(IPythonWidget):' | |||
|
231 | 231 | try: |
|
232 | 232 | svg = str(self._name_to_svg_map[match.group("name")]) |
|
233 | 233 | except KeyError: |
|
234 | return "<b>Couldn't find image %s</b>" % match.group("name") | |
|
234 | return "<b>Cannot convert a PNG to SVG. </b>To fix this, add this to your config: <span>c.InlineBackendConfig.figure_format = 'svg'</span>" | |
|
235 | 235 | |
|
236 | 236 | # Not currently checking path, because it's tricky to find a |
|
237 | 237 | # cross-browser way to embed external SVG images (e.g., via |
General Comments 0
You need to be logged in to leave comments.
Login now