I use matplotlib for plotting, but somehow I get an error whenever I import pyFTS and plot just a simple graph (even though I'm not using pyFTS). Below is the error:
_UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans (prop.getfamily(), self.defaultFamily[fontext]))
I don't know what is happening,I already updated my fonts. And by checking the codes pyFTS also use matplotlib in the following format
import matplotlib as plt
import matplotlib.pyplot as plt
and some codes import matplotlib as
import matplotlib.pylab as plt
I'm using
matplotlib 2.2.3
pyFTS 1.2.2
python 3.6.3
on Ubuntu
I use matplotlib for plotting, but somehow I get an error whenever I import pyFTS and plot just a simple graph (even though I'm not using pyFTS). Below is the error: _UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans (prop.getfamily(), self.defaultFamily[fontext]))
I don't know what is happening,I already updated my fonts. And by checking the codes pyFTS also use matplotlib in the following format
import matplotlib as plt import matplotlib.pyplot as plt
and some codes import matplotlib as
import matplotlib.pylab as plt
I'm using matplotlib 2.2.3 pyFTS 1.2.2 python 3.6.3 on Ubuntu
Regards