From: Christopher B. <Chr...@no...> - 2006-03-08 21:16:14
|
John Hunter wrote: > Perhaps you entered it in wrong -- it should be "TkAgg" as you typed > above but if you got this error I'm guessing you made a typo in your > rc file. You can also put a matplotlib.use("TkAgg") in your script which might be an easier way to test different back-ends than editing the rc file: import matplotlib matplotlib.use("TkAgg") from pylab import subplot, show ax = subplot(111) ax.plot([1,2,3]) show() -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |