title: Matplotlib throws warning message because of findfont - python
body: <p>I want to plot a basic graph, basically consisting of two lists of the form
  x = [1,2,3,...,d], y = [y1,y2,...,yd].
  after using_ <code>pyplot.plot(x,y)</code> I get a huge amount of warning messages referring to <strong>findfont errors</strong> (see below..)</p>
  
  <p>I just installed matplotlib. All the threads I could find refer to changing fonts manually and having warning messages popping up. I did not do anything like that. I just installed the package and that is it.</p>
  
  <p>I am using pycharm, python 3.6 and windows for programming.</p>
  
  <pre><code>DEBUG  findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0.
  DEBUG  findfont: score(&lt;Font 'cmex10' (cmex10.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXSizeOneSym' (STIXSizOneSymReg.ttf) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'cmb10' (cmb10.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans' (DejaVuSans-Bold.ttf) normal normal bold normal&gt;) = 0.33499999999999996
  DEBUG  findfont: score(&lt;Font 'STIXNonUnicode' (STIXNonUniBolIta.ttf) italic normal bold normal&gt;) = 11.335
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans Mono' (DejaVuSansMono-Bold.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'DejaVu Serif' (DejaVuSerif.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'cmr10' (cmr10.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXGeneral' (STIXGeneralItalic.ttf) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'STIXGeneral' (STIXGeneralBol.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'STIXSizeTwoSym' (STIXSizTwoSymBol.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'STIXSizeOneSym' (STIXSizOneSymBol.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'DejaVu Serif' (DejaVuSerif-BoldItalic.ttf) italic normal bold normal&gt;) = 11.335
  DEBUG  findfont: score(&lt;Font 'STIXGeneral' (STIXGeneral.ttf) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans Mono' (DejaVuSansMono-BoldOblique.ttf) oblique normal bold normal&gt;) = 11.335
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans Mono' (DejaVuSansMono-Oblique.ttf) oblique normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'STIXSizeFourSym' (STIXSizFourSymBol.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'STIXNonUnicode' (STIXNonUniIta.ttf) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'DejaVu Serif' (DejaVuSerif-Bold.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'cmsy10' (cmsy10.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXNonUnicode' (STIXNonUni.ttf) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXSizeFourSym' (STIXSizFourSymReg.ttf) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXSizeThreeSym' (STIXSizThreeSymBol.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'DejaVu Serif' (DejaVuSerif-Italic.ttf) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'STIXSizeFiveSym' (STIXSizFiveSymReg.ttf) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'cmss10' (cmss10.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'cmmi10' (cmmi10.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans Mono' (DejaVuSansMono.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'cmtt10' (cmtt10.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXSizeTwoSym' (STIXSizTwoSymReg.ttf) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXNonUnicode' (STIXNonUniBol.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans Display' (DejaVuSansDisplay.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'DejaVu Serif Display' (DejaVuSerifDisplay.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'STIXSizeThreeSym' (STIXSizThreeSymReg.ttf) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans' (DejaVuSans-Oblique.ttf) oblique normal 400 normal&gt;) = 1.05
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans' (DejaVuSans-BoldOblique.ttf) oblique normal bold normal&gt;) = 1.335
  DEBUG  findfont: score(&lt;Font 'STIXGeneral' (STIXGeneralBolIta.ttf) italic normal bold normal&gt;) = 11.335
  DEBUG  findfont: score(&lt;Font 'DejaVu Sans' (DejaVuSans.ttf) normal normal 400 normal&gt;) = 0.05
  DEBUG  findfont: score(&lt;Font 'Franklin Gothic Book' (FRABK.TTF) normal normal book normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Microsoft Yi Baiti' (msyi.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Matura MT Script Capitals' (MATURASC.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Wide Latin' (LATINWD.TTF) normal normal 400 expanded&gt;) = 10.25
  DEBUG  findfont: score(&lt;Font 'Gigi' (GIGI.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Georgia' (georgiab.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Microsoft Tai Le' (taile.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Wingdings 3' (WINGDNG3.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Copperplate Gothic Bold' (COPRGTB.TTF) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Palatino Linotype' (palabi.ttf) italic normal bold normal&gt;) = 11.335
  DEBUG  findfont: score(&lt;Font 'Segoe UI' (segoeuii.ttf) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Arial Rounded MT Bold' (ARLRDBD.TTF) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Verdana' (verdanai.ttf) italic normal 400 normal&gt;) = 4.6863636363636365
  DEBUG  findfont: score(&lt;Font 'Microsoft Himalaya' (himalaya.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Gloucester MT Extra Condensed' (GLECB.TTF) normal normal 400 condensed&gt;) = 10.25
  DEBUG  findfont: score(&lt;Font 'Palatino Linotype' (palab.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Playbill' (PLAYBILL.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Rage Italic' (RAGE.TTF) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Perpetua' (PERI____.TTF) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Constantia' (constani.ttf) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Segoe UI Emoji' (seguiemj.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'KaiTi' (simkai.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Tw Cen MT Condensed' (TCCM____.TTF) normal normal 400 condensed&gt;) = 10.25
  DEBUG  findfont: score(&lt;Font 'Corbel' (corbel.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Nirmala UI' (Nirmala.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Baskerville Old Face' (BASKVILL.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Wingdings' (wingding.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Segoe UI' (segoeui.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Arial' (ariblk.ttf) normal normal black normal&gt;) = 6.888636363636364
  DEBUG  findfont: score(&lt;Font 'Courier New' (cour.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Courier New' (couri.ttf) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Bookshelf Symbol 7' (BSSYM7.TTF) normal normal book normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Microsoft Uighur' (MSUIGHUB.TTF) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Lucida Fax' (LFAXDI.TTF) italic normal demibold normal&gt;) = 11.24
  DEBUG  findfont: score(&lt;Font 'Garamond' (GARA.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Consolas' (consolai.ttf) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Lucida Sans Typewriter' (LTYPE.TTF) normal normal regular normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Perpetua Titling MT' (PERTIBD.TTF) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Britannic Bold' (BRITANIC.TTF) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Lucida Calligraphy' (LCALLIG.TTF) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Lucida Bright' (LBRITE.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Ebrima' (ebrima.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Calisto MT' (CALIST.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Roboto' (Roboto-Bold.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Gadugi' (gadugi.ttf) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Colonna MT' (COLONNA.TTF) normal normal 400 normal&gt;) = 10.05
  DEBUG  findfont: score(&lt;Font 'Nirmala UI' (NirmalaS.ttf) normal normal light normal&gt;) = 10.24
  DEBUG  findfont: score(&lt;Font 'Microsoft Tai Le' (taileb.ttf) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Bodoni MT' (BOD_CBI.TTF) italic normal bold condensed&gt;) = 11.535
  DEBUG  findfont: score(&lt;Font 'Berlin Sans FB' (BRLNSB.TTF) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Gill Sans MT' (GILI____.TTF) italic normal 400 normal&gt;) = 11.05
  DEBUG  findfont: score(&lt;Font 'Rockwell' (ROCKBI.TTF) italic normal bold normal&gt;) = 11.335
  DEBUG  findfont: score(&lt;Font 'Gill Sans MT' (GILB____.TTF) normal normal bold normal&gt;) = 10.335
  DEBUG  findfont: score(&lt;Font 'Constantia' (constanb.ttf) normal normal bold normal&gt;) = 10.335
  [...............]
  DEBUG  findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0 to DejaVu Sans ('C:\\Users\\chris\\PycharmProjects\\DeepNN-Solver\\venv\\lib\\site-packages\\matplotlib\\mpl-data\\fonts\\ttf\\DejaVuSans.ttf') with score of 0.050000.
  </code></pre>