adding matplotlib as a dependency