Show More
@@ -211,7 +211,7 b' def select_figure_formats(shell, formats, **kwargs):' | |||||
211 |
|
211 | |||
212 | [ f.pop(Figure, None) for f in shell.display_formatter.formatters.values() ] |
|
212 | [ f.pop(Figure, None) for f in shell.display_formatter.formatters.values() ] | |
213 |
|
213 | |||
214 |
if matplotlib. |
|
214 | if matplotlib.get_backend().lower() == 'nbagg': | |
215 | formatter = shell.display_formatter.ipython_display_formatter |
|
215 | formatter = shell.display_formatter.ipython_display_formatter | |
216 | formatter.for_type(Figure, _reshow_nbagg_figure) |
|
216 | formatter.for_type(Figure, _reshow_nbagg_figure) | |
217 |
|
217 |
General Comments 0
You need to be logged in to leave comments.
Login now