patched for: raise TypeError('As of PyCheb 2013-01-25 the tree is immutable.')