linthresh
linthresh is a parameter used in Matplotlib’s SymLogNorm color normalization to control how the scale treats values near zero. It defines the width of the linear region around zero in a symmetric logarithmic scale, allowing both very small and very large values to be visualized in a single plot without the distortion caused by a pure log scale.
In practice, values with absolute value less than or equal to linthresh are mapped linearly, while values
linthresh is primarily encountered in Matplotlib’s SymLogNorm, which is useful for data that contains both small
Typical usage involves creating a normalization object with a chosen linthresh, for example: SymLogNorm(linthresh=0.01, linscale=1.0). The