plot_image.py: mention ~/.matplotlib/matplotlibrc for backend selection
authorW. Trevor King <wking@tremily.us>
Fri, 30 Nov 2012 19:20:37 +0000 (11:20 -0800)
committerW. Trevor King <wking@tremily.us>
Fri, 22 Feb 2013 17:11:11 +0000 (09:11 -0800)
src/plot_image/plot_image.py

index fffab701cc353689aaea23a22ce52f686d9e2085..7766530e719317846c848d15f7319c30d51da8b1 100755 (executable)
@@ -63,6 +63,12 @@ import numpy
 #matplotlib.use('Agg')     # select backend that doesn't require X Windows
 #matplotlib.use('GTKAgg')  # select backend that supports pylab.show()
 
+# Alternatively, you can configure the backend using
+# ~/.matplotlib/matplotlibrc:
+#   $ cat ~/.matplotlib/matplotlibrc:
+#   backend : Agg
+#   #backend : GTKAgg
+
 import pylab