plot.plot() function does not work

Asked by Jan Stránský

Hello

I ran the simulation, I have data in plot.data, what I want to plot in plot.plots, but when I call plot.plot() function, I got following terminal output and no picture..

/usr/local/lib/yade-trunk/py/yade/plot.py:590: UserWarning: plot.plot not showing figure (matplotlib using headless backend?)
  warnings.warn('plot.plot not showing figure (matplotlib using headless backend?)')

anybody has similar experience or know how to fix it?
thanks in advance
Jan

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Ok, I did not compile with qt4, that was the main problem.. but still I have
problem. The figure is displayed, but it is empty, even though I have data
in plot.data and what I want to plot in plot.plots, lets say:

plot.data = {'a':[0,1,2],'b':[4,2,3]}
plot.plots = {'a':('b')}

I also tried plot.plots = {'a',('b',)}, but after plot.plot() the figure is
still empty.. Where did I do the mistake?
Thanks
Jan

Revision history for this message
Jan Stránský (honzik) said :
#2

plot.plot(subPlots=False) solved it, sorry for disturbing :-)
Jan

Revision history for this message
Jan Stránský (honzik) said :
#3

solved