cronã¨ãå¥ã«ãã£ã¹ãã¬ã¤ä¸ã«è¡¨ç¤ºããªãã¦ããå ´åã¯é©å½ã«å¼æ°ãä¸ãã¦ãããã¨ã§matplotlibã®ããã¯ã¨ã³ããåãæ¿ãããã¨ãã§ããã some_matplotlib.py -dAgg å¥ã«ãããªãã¨ããªãã¦ãuseãã¦ãåããã¨ãåºæ¥ãã¨ãããã¨ãæè¿ç¥ã£ãã import matplotlib matplotlib.use('Agg') from pylab import * ãã ããpylabå¼ã³åºããããå ã«ãã£ã¦ãããªã㨠RuntimeError: matplotlib.use() must be called *before* pylab ã¨æãããã
{{#tags}}- {{label}}
{{/tags}}