##// END OF EJS Templates
include sorted list of backends
Paul Ivanov -
Show More
@@ -18,6 +18,7 b' from IPython.core import magic_arguments'
18 from IPython.core.magic import Magics, magics_class, line_magic
18 from IPython.core.magic import Magics, magics_class, line_magic
19 from IPython.testing.skipdoctest import skip_doctest
19 from IPython.testing.skipdoctest import skip_doctest
20 from IPython.utils.warn import warn
20 from IPython.utils.warn import warn
21 from IPython.core.pylabtools import backends
21
22
22 #-----------------------------------------------------------------------------
23 #-----------------------------------------------------------------------------
23 # Magic implementation classes
24 # Magic implementation classes
@@ -25,12 +26,11 b' from IPython.utils.warn import warn'
25
26
26 magic_gui_arg = magic_arguments.argument(
27 magic_gui_arg = magic_arguments.argument(
27 'gui', nargs='?',
28 'gui', nargs='?',
28 help="""Name of the matplotlib backend to use
29 help="""Name of the matplotlib backend to use %s.
29 ('qt', 'wx', 'gtk', 'osx', 'tk', 'inline', 'auto').
30 If given, the corresponding matplotlib backend is used,
30 If given, the corresponding matplotlib backend is used,
31 otherwise it will be matplotlib's default
31 otherwise it will be matplotlib's default
32 (which you can set in your matplotlib config file).
32 (which you can set in your matplotlib config file).
33 """
33 """ % str(tuple(sorted(backends.keys())))
34 )
34 )
35
35
36
36
General Comments 0
You need to be logged in to leave comments. Login now