projects
/
assignment-template.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc574a
)
plot_image.py: mention ~/.matplotlib/matplotlibrc for backend selection
author
W. Trevor King
<wking@tremily.us>
Fri, 30 Nov 2012 19:20:37 +0000
(11:20 -0800)
committer
W. Trevor King
<wking@tremily.us>
Fri, 22 Feb 2013 17:11:11 +0000
(09:11 -0800)
src/plot_image/plot_image.py
patch
|
blob
|
history
diff --git
a/src/plot_image/plot_image.py
b/src/plot_image/plot_image.py
index fffab701cc353689aaea23a22ce52f686d9e2085..7766530e719317846c848d15f7319c30d51da8b1 100755
(executable)
--- 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