def log_scale(x): C = 1 / np.log(10) return np.sign(x) * np.log10(1 + np.abs(x / C))
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter