Show More
@@ -96,7 +96,7 b' class PylabMagics(Magics):' | |||
|
96 | 96 | backends_list = list(backends.keys()) |
|
97 | 97 | print("Available matplotlib backends: %s" % backends_list) |
|
98 | 98 | else: |
|
99 | gui, backend = self.shell.enable_matplotlib(args.gui.lower()) | |
|
99 | gui, backend = self.shell.enable_matplotlib(args.gui.lower() if isinstance(args.gui, str) else args.gui) | |
|
100 | 100 | self._show_matplotlib_backend(args.gui, backend) |
|
101 | 101 | |
|
102 | 102 | @skip_doctest |
General Comments 0
You need to be logged in to leave comments.
Login now