In [1]:
%matplotlib inline
from __future__ import print_function # only necessary if using Python 2.x
from pyshtools import SHCoeffs
lmax = 70
coeffs = SHCoeffs.from_zeros(lmax)
coeffs.set_coeffs(values=[1], ls=[10], ms=[0])
grid = coeffs.expand('GLQ')
grid.plot_3dsphere(elevation=20, azimuth=30);