PYFTS / pyFTS

An open source library for Fuzzy Time Series in Python
http://pyfts.github.io/pyFTS/
GNU General Public License v3.0
262 stars 54 forks source link

Error on plotting #7

Closed jermaine1ronquillo closed 6 years ago

jermaine1ronquillo commented 6 years ago

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

petroniocandido commented 6 years ago

Did you installed the pyFTS using pip? If yes, try to use the following command:

pip install -U git+https://github.com/PYFTS/pyFTS

jermaine1ronquillo commented 6 years ago

Thank you, it is now working