bits unit for Info
This commit is contained in:
@@ -21,7 +21,7 @@ textstr = '\n'.join((
|
|||||||
r'$n=%d$' % (len(data)),
|
r'$n=%d$' % (len(data)),
|
||||||
r'$\mu=%.2f$' % (mean, ),
|
r'$\mu=%.2f$' % (mean, ),
|
||||||
r'$P=%.2f$' % (prob, ),
|
r'$P=%.2f$' % (prob, ),
|
||||||
r'$I=%.2f$' % (info, )))
|
r'$I=%.2f$ bits' % (info, )))
|
||||||
# these are matplotlib.patch.Patch properties
|
# these are matplotlib.patch.Patch properties
|
||||||
props = dict(boxstyle='round', facecolor='wheat', alpha=0.5)
|
props = dict(boxstyle='round', facecolor='wheat', alpha=0.5)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user