units: The units for this axis. Units should generally be given without any scaling prefix (eg, 'V' instead of 'mV'). The scaling prefix will be AUTOMATICALLY prepended based on the range of data displayed.
Hi Trifon,
Hi all,
So how do I remove the automatic scaling prefix from axis label?
See for example documentation from the AxisItem.setLabel
It seems this offers what you are asking for: http://www.pyqtgraph.org/documentation/graphicsItems/axisitem.html#pyqtgraph.AxisItem.enableAutoSIPrefix
--
...ich hab' noch einen Koffer in Berlin...
It seems this offers what you are asking for: http://www.pyqtgraph.org/documentation/graphicsItems/axisitem.html#pyqtgraph.AxisItem.enableAutoSIPrefix
I would like to know the answer to that question, too. :-)
Cheers,
#~if abs(vs) < .001 or abs(vs) >= 10000:
#~vstr = "%g" % vs
#~else:
vstr = ("%%0.%df" % places) % vs