You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug summary
Using fig.canvas.draw() to redraw a plot produces the following warning:
/home/myname/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1297: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans
(prop.get_family(), self.defaultFamily[fontext]))
It doesn't happen if I just plot the code, only when using fig.canvas.draw() to plot things dynamically.
I experience this when running the code in Anaconda, in bash, in Ubuntu, under Windows 10.
I tried to delete the content of ~/.cache/ (and of the corresponding folder in the windows anaconda installation, just to be sure), but the warning still appears.
I also tried installing font-manager as suggested here, but with no effect.