我正在使用plotly绘制一些数据(少量),并且看到了奇怪的格式,例如78.98p
,576.65n
,678.76f
这些是什么F? :(在任何地方都没有任何解释。
我该如何让他们说出带有E的科学计数法?
答案 0 :(得分:1)
查看此https://plot.ly/python/reference/#parcoords-line-colorbar-exponentformat
exponentformat ( enumerated : "none" | "e" | "E" | "power" | "SI" | "B" )
default: "B"
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.