Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  01 May 2023, Giovanni Mazzitelli, Bug Report, python issue with mathplot lib vs odb query Screenshot_2023-05-01_at_09.57.01.png
    Reply  01 May 2023, Ben Smith, Bug Report, python issue with mathplot lib vs odb query 
       Reply  01 May 2023, Giovanni Mazzitelli, Bug Report, python issue with mathplot lib vs odb query output.txt
          Reply  01 May 2023, Ben Smith, Bug Report, python issue with mathplot lib vs odb query 
             Reply  01 May 2023, Ben Smith, Bug Report, python issue with mathplot lib vs odb query 
                Reply  01 May 2023, Giovanni Mazzitelli, Bug Report, python issue with mathplot lib vs odb query 
Message ID: 2497     Entry time: 01 May 2023     In reply to: 2496     Reply to this: 2498
Author: Ben Smith 
Topic: Bug Report 
Subject: python issue with mathplot lib vs odb query 
Looks like a localisation issue. Your floats are formatted as "6,6584e+01", whereas the JSON decoder expects "6.6584e+01".

Can you run the following few lines please? Then I'll be able to write a test using the same setup as you:


import locale
print(locale.getlocale())
from matplotlib import pyplot as plt
print(locale.getlocale())
 
ELOG V3.1.4-2e1708b5