bits unit for Info

This commit is contained in:
2025-12-12 14:20:03 +00:00
parent 8af3f80277
commit 2281ab1b27

View File

@@ -21,7 +21,7 @@ textstr = '\n'.join((
r'$n=%d$' % (len(data)),
r'$\mu=%.2f$' % (mean, ),
r'$P=%.2f$' % (prob, ),
r'$I=%.2f$' % (info, )))
r'$I=%.2f$ bits' % (info, )))
# these are matplotlib.patch.Patch properties
props = dict(boxstyle='round', facecolor='wheat', alpha=0.5)