bug fix graphs inversion jour/nuit