pip install matplotlib
import matplotlib.pyplot as plt
ValueError: _getfullpathname: embedded null character
direc = direc.split('\0', 1)[0]
import matplotlib.pyplot as plt plt.plot([1,2,3,4]) plt.ylabel('some numbers') plt.show()