import topotoolbox
import matplotlib.pyplot as plt
dem = topotoolbox.load_dem('perfectworld')
scharr = dem.filter(method='scharr', kernelsize=3)
_= scharr.plot(cmap='terrain')
plt.show()
