Pyroot, PyQt and locales

Hello everyone,

This is to report a bug (or an unexpected feature ?) which are I think related to my locales setting.

I’m doing the following :

>>> h = ROOT.TH1F("Dsad","dasd",10,2.3, 15.6);h.Draw() Info in <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
The labels on the y-axis are decimal numbers with a dot (‘.’) as the separator.
Now

[code]>>> from PyQt4 import QtCore, QtGui

a=QtGui.QApplication()
h = ROOT.TH1F(“Dsad”,“dasd”,10,2.3, 15.6);h.Draw()
Info in TCanvas::MakeDefCanvas: created default TCanvas with name c1[/code]

The labels on the y-axis are decimal numbers with a colon (‘,’) as the separator, which is the behaviour corresponding to my locales (french)…
Not very important, but annoying as it is not standard international communication.
Is it expected ? Can I change this behaviour ?

If it’s a bug, let me know, I’ll be glad to fill a report in the appropriate place (where ?).

Hi,

not even clear to me which of the behaviors you consider a bug. :slight_smile: But anyway, it has nothing to do with PyROOT or python, so I don’t think I can help you. The general ROOT help forum may give you better feedback.

Of course, if you want to file a bug report, the place to do so is savannah: https://savannah.cern.ch/projects/savroot/ (scroll down to “Bug Tracker” in the list of development tools).

Best regards,
Wim