Show More
@@ -71,10 +71,10 b' class InlineBackend(InlineBackendConfig):' | |||
|
71 | 71 | |
|
72 | 72 | def _update_figure_formatters(self): |
|
73 | 73 | if self.shell is not None: |
|
74 | from IPython.core.pylabtools import select_figure_formats | |
|
74 | 75 | select_figure_formats(self.shell, self.figure_formats, **self.print_figure_kwargs) |
|
75 | 76 | |
|
76 | 77 | def _figure_formats_changed(self, name, old, new): |
|
77 | from IPython.core.pylabtools import select_figure_formats | |
|
78 | 78 | if 'jpg' in new or 'jpeg' in new: |
|
79 | 79 | if not pil_available(): |
|
80 | 80 | raise TraitError("Requires PIL/Pillow for JPG figures") |
General Comments 0
You need to be logged in to leave comments.
Login now