Renderer problems using Matplotlib from within a script

后端 未结 2 1271
挽巷
挽巷 2021-02-20 06:33

I\'ve narrowed down to this call:

fig.canvas.tostring_argb() #fig=matplotlib.pyplot.figure()

this function raises an AttributeError

2条回答
  •  逝去的感伤
    2021-02-20 07:03

    I ended up installing and using the WXAgg backend; the Agg,and default GTKAgg, didn't work for me.

提交回复
热议问题