Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

Value with 'T' suffix

When I use py.iplot to plot, I got ‘T’ after values. What’s the meaning of T?

Here’s my data and code:

from netCDF4 import Dataset
dataset = Dataset('example_plotly.nc')

zdata = dataset.variables['LNO2'][:]


a = Heatmap(
    z=zdata,
    zmin=0,
    zmax=1e15)
pdata=[a]

print (zdata[~np.isnan(zdata)])
py.iplot(pdata, filename='LNO2')

Result:

[-3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -185867813519360.0 -185867813519360.0 -3.4020000005553803e+38
 -185867813519360.0 -185867813519360.0 -185867813519360.0
 -185867813519360.0 -185867813519360.0 -185867813519360.0
 -185867813519360.0 -185867813519360.0 -185867813519360.0
 -185867813519360.0 -185867813519360.0 -185867813519360.0
 -462192101031936.0 -185867813519360.0 -185867813519360.0
 391009628323840.0 391009628323840.0 391009628323840.0 -462192101031936.0
 -462192101031936.0 706150269976576.0 706150269976576.0 391009628323840.0
 391009628323840.0 391009628323840.0 -462192101031936.0 -462192101031936.0
 706150269976576.0 706150269976576.0 548579965927424.0 391009628323840.0
 391009628323840.0 -462192101031936.0 -462192101031936.0 706150269976576.0
 706150269976576.0 548579965927424.0 391009628323840.0 391009628323840.0
 -462192101031936.0 -462192101031936.0 706150269976576.0 706150269976576.0
 548579965927424.0 391009628323840.0 391009628323840.0 -462192101031936.0
 -462192101031936.0 706150269976576.0 706150269976576.0 548579965927424.0
 391009628323840.0 391009628323840.0 -462192101031936.0 -462192101031936.0
 706150269976576.0 706150269976576.0 548579965927424.0 391009628323840.0
 391009628323840.0 -462192101031936.0 -462192101031936.0 706150269976576.0
 706150269976576.0 548579965927424.0 391009628323840.0 419008117473280.0
 -598789509349376.0 -598789509349376.0 419008117473280.0 419008117473280.0
 -598789509349376.0 -598789509349376.0 419008117473280.0 419008117473280.0
 -598789509349376.0 -598789509349376.0 419008117473280.0 419008117473280.0
 -598789509349376.0 -598789509349376.0 419008117473280.0 419008117473280.0
 -598789509349376.0 -598789509349376.0 419008117473280.0 419008117473280.0
 -89890687549440.0 -598789509349376.0 -598789509349376.0 419008117473280.0
 419008117473280.0 -89890687549440.0 -598789509349376.0 -598789509349376.0
 419008117473280.0 419008117473280.0 -89890687549440.0 -598789509349376.0
 -598789509349376.0 460574911627264.0 460574911627264.0 460574911627264.0
 460574911627264.0 460574911627264.0 460574911627264.0 460574911627264.0
 460574911627264.0 460574911627264.0 460574911627264.0 460574911627264.0
 460574911627264.0 460574911627264.0 460574911627264.0 460574911627264.0
 460574911627264.0 460574911627264.0 460574911627264.0 460574911627264.0
 460574911627264.0 460574911627264.0 460574911627264.0 460574911627264.0
 -3.4020000005553803e+38 -3.4020000005553803e+38 460574911627264.0
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -3.4020000005553803e+38 -3.4020000005553803e+38
 -3.4020000005553803e+38 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 18246879150080.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 18246879150080.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 18246879150080.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 18246879150080.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 18246879150080.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 18246879150080.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -412729345048576.0
 -560423606681600.0 -708117901869056.0 -708117901869056.0
 -669466350321664.0 -325609725100032.0 18246879150080.0 142282200186880.0
 142282200186880.0 266317517029376.0 -73205905620992.0 -669466350321664.0]

Hi @zxdawn,

T is the “Terra” SI prefix (https://github.com/d3/d3-format#locale_formatPrefix).

You can control the display using the fig.layout.xaxis.tickformat property. Here’s the docstring

Sets the tick label formatting rule using d3 formatting mini-
languages which are very similar to those in Python. For
numbers, see: https://github.com/d3/d3-format/blob/master/READM
E.md#locale_format And for dates see:
https://github.com/d3/d3-time-
format/blob/master/README.md#locale_format We add one item to
d3's date formatter: "%{n}f" for fractional seconds with n
digits. For example, *2016-10-13 09:15:23.456* with tickformat
"%H~%M~%S.%2f" would display "09~15~23.46"

And the default is 's'.

Hope that helps clear things up!
-Jon