From d7c75c185995128b93579a4b0756fd56d4d2b50e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 30 Nov 2012 11:20:37 -0800 Subject: [PATCH] plot_image.py: mention ~/.matplotlib/matplotlibrc for backend selection --- src/plot_image/plot_image.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plot_image/plot_image.py b/src/plot_image/plot_image.py index fffab70..7766530 100755 --- a/src/plot_image/plot_image.py +++ b/src/plot_image/plot_image.py @@ -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 -- 2.26.2