From: <ef...@us...> - 2008-06-09 07:22:58
|
Revision: 5429 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5429&view=rev Author: efiring Date: 2008-06-09 00:22:56 -0700 (Mon, 09 Jun 2008) Log Message: ----------- Reverting part of r5420; this should be temporary. It seems that to make "ipython -pylab" work with interactive backends, with the exceptions of tkagg and qt4agg, the old mixed-case backend names need to be preserved in the interactive_bk list. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/rcsetup.py Modified: trunk/matplotlib/lib/matplotlib/rcsetup.py =================================================================== --- trunk/matplotlib/lib/matplotlib/rcsetup.py 2008-06-09 03:34:24 UTC (rev 5428) +++ trunk/matplotlib/lib/matplotlib/rcsetup.py 2008-06-09 07:22:56 UTC (rev 5429) @@ -12,8 +12,15 @@ from matplotlib.fontconfig_pattern import parse_fontconfig_pattern from matplotlib.colors import is_color_like -interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'fltkagg', 'qtagg', 'qt4agg', - 'tkagg', 'wx', 'wxagg', 'cocoaagg'] +#interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'fltkagg', 'qtagg', 'qt4agg', +# 'tkagg', 'wx', 'wxagg', 'cocoaagg'] +# The capitalized forms seem to be needed for ipython at present; +# this is mysterious to me (EF). + +interactive_bk = ['GTK', 'GTKAgg', 'GTKCairo', 'FltkAgg', 'QtAgg', 'Qt4Agg', + 'TkAgg', 'WX', 'WXAgg', 'CocoaAgg'] + + non_interactive_bk = ['agg', 'cairo', 'emf', 'gdk', 'pdf', 'ps', 'svg', 'template'] all_backends = interactive_bk + non_interactive_bk This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |