On peut maintenant afficher les statistiques des scores
des joueurs sous forme d'histogramme. Cette fonctionnalité utilise le
module pylab de Python. Voir Matplotlib.
Bug remarqué :
The program 'demineur_gui.py' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'. (Details: serial 956 error_code 181 request_code 155 minor_code 7) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function. Ce bug provoque un arrêt brutal du programme. Si vous lancez le graphe via la commande python stats.py il n'arrivera pas. Il apparaîtra uniquement en lançant le graphique via le menu du jeu. |