Closed jyzhong closed 6 years ago
Hi, do you have latex installed on your OS? By default, it uses latex for plotting.
You can also try setting using latex to false (at the beginning of the script you execute) by changing
rc('text', usetex=True)
to
rc('text', usetex=False)
@zhangzichao thanks for your reply. After install latex, problem solved!
@zhangzichao /usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py:1331: UserWarning: findfont: Font family [u'serif'] not found. Falling back to DejaVu Sans .... OSError: [Errno 2] No such file or directory: 'latex'
hope get your advice.