SciFormatter¶
-
SciFormatter
(precision=None, zerotrim=None)[source]¶ Return a
FuncFormatter
that formats the number with scientific notation.- Parameters
precision (int, optional) – The maximum number of digits after the decimal point. Default is
6
whenzerotrim
isTrue
and2
otherwise.zerotrim (bool, optional) – Whether to trim trailing zeros. Default is