ThetaRadianFormatter

class glue.core.util.ThetaRadianFormatter[source]

Bases: matplotlib.ticker.Formatter

Used to format the theta tick labels in radians

Attributes Summary

limit_den

max_den

max_num

Methods Summary

__call__(x[, pos])

Return the format for tick value x at position pos.

rad_fn(x[, digits])

Attributes Documentation

limit_den = 10000
max_den = 20
max_num = 20

Methods Documentation

__call__(x, pos=None)[source]

Return the format for tick value x at position pos. pos=None indicates an unspecified location.

classmethod rad_fn(x, digits=2)[source]