0

When I run matplotlib in python, I got the error below:

error

I am running VNC (xfce4) on Ubuntu 14.04. The plot is shown, however, the application will stop. I tried to search solutions but no success. Can anyone help?

venusisle
  • 113
  • 2
  • 10
  • Do you need interactive plots? What backend are you using? – tacaswell Apr 26 '16 at 01:49
  • I do not need interactive plots. I am using xfce – venusisle Apr 27 '16 at 21:41
  • See http://stackoverflow.com/questions/2801882/generating-a-png-with-matplotlib-when-display-is-undefined/3054314#3054314 Slightly different error, but same solution. – tacaswell Apr 27 '16 at 21:43
  • Thanks! However, I do want to plot and update a window on the fly when the application is running...always save to disk will generate too many images.. – venusisle Apr 30 '16 at 01:18

0 Answers0