Using matplotlib in GAE

后端 未结 2 1782
名媛妹妹
名媛妹妹 2021-02-04 11:28

My tags and title quite clearly state my problem. I want to use matplotlib to create real-time plots in Google App Engine. I\'ve read the documentation and searched on SO and Go

2条回答
  •  半阙折子戏
    2021-02-04 12:29

    The problem was that you were setting the MATPLOTLIBDATA and MPLCONFIGDIR environment variables to your app directory before importing matplotlib. Since you didn't have any fonts in your app directory, it couldn't load any fonts.

提交回复
热议问题