def degree(f, x=None):
        i = f.ring.index(x)

        if not f:
            return -oo
        else:
            return max([ monom[i] for monom in f.itermonoms() ])
Create FillingFrame instance.
dataset/ETHPy150Open sympy/sympy/sympy/polys/rings.py/PolyElement.degree--crossover with--dataset/ETHPy150Open xraypy/xraylarch/plugins/wx/gui_utils.py/DataBrowserFrame.__init__