##// END OF EJS Templates
add 'osx' to known pylab backends, fix pylab mode with MacOSX backend...
MinRK -
Show More
@@ -3371,7 +3371,7 b' Defaulting color scheme to \'NoColor\'"""'
3371 3371 Parameters
3372 3372 ----------
3373 3373 guiname : optional
3374 One of the valid arguments to the %gui magic ('qt', 'wx', 'gtk' or
3374 One of the valid arguments to the %gui magic ('qt', 'wx', 'gtk', 'osx' or
3375 3375 'tk'). If given, the corresponding Matplotlib backend is used,
3376 3376 otherwise matplotlib's default (which you can override in your
3377 3377 matplotlib config file) is used.
@@ -28,6 +28,7 b" GUI_QT = 'qt'"
28 28 GUI_QT4 = 'qt4'
29 29 GUI_GTK = 'gtk'
30 30 GUI_TK = 'tk'
31 GUI_OSX = 'osx'
31 32
32 33 #-----------------------------------------------------------------------------
33 34 # Utility classes
@@ -310,6 +311,7 b' def enable_gui(gui=None):'
310 311 one.
311 312 """
312 313 guis = {None: clear_inputhook,
314 GUI_OSX: lambda app=False: None,
313 315 GUI_TK: enable_tk,
314 316 GUI_GTK: enable_gtk,
315 317 GUI_WX: enable_wx,
@@ -30,6 +30,7 b" backends = {'tk': 'TkAgg',"
30 30 'wx': 'WXAgg',
31 31 'qt': 'Qt4Agg', # qt3 not supported
32 32 'qt4': 'Qt4Agg',
33 'osx': 'MacOSX',
33 34 'inline' : 'module://IPython.zmq.pylab.backend_inline'}
34 35
35 36 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now