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