removed dependency to matplotlib from log2code