OKdevTV Docs
Home OKdevTV
ESC
python 1 min read 0.8 KB Raw Markdown
On this page (5)

matplotlib for windows

Tutorials

error

  • ValueError: _getfullpathname: embedded null character

fix

  • open file font_manager.py

  • comment out and insert code

  • direc = direc.split('\0', 1)[0]

test

py
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
  • check image

ref