Show More
@@ -106,8 +106,6 b" def print_figure(fig, fmt='png'):" | |||
|
106 | 106 | finally: |
|
107 | 107 | fig.set_facecolor(fc) |
|
108 | 108 | fig.set_edgecolor(ec) |
|
109 | if fmt == 'png': | |
|
110 | data = data.encode('base64') | |
|
111 | 109 | return data |
|
112 | 110 | |
|
113 | 111 |
@@ -42,7 +42,7 b' class InlineBackendConfig(SingletonConfigurable):' | |||
|
42 | 42 | figure_format = CaselessStrEnum(['svg', 'png'], default_value='png', config=True, |
|
43 | 43 | help="The image format for figures with the inline backend.") |
|
44 | 44 | |
|
45 | def _format_changed(self, name, old, new): | |
|
45 | def _figure_format_changed(self, name, old, new): | |
|
46 | 46 | if self.shell is None: |
|
47 | 47 | return |
|
48 | 48 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now