import topotoolbox
import matplotlib.pyplot as plt
dem = topotoolbox.load_dem('perfectworld')
grad = dem.gradient8()
_= grad.plot(cmap='terrain')
plt.show()
