Matplotlib import error with d2l package