[MacPorts] #71316: py-matplotlib: No event loop integration for 'macosx'

MacPorts noreply at macports.org
Mon Dec 16 20:35:12 UTC 2024


#71316: py-matplotlib: No event loop integration for 'macosx'
----------------------------------------+------------------------
  Reporter:  AgilentGCMS                |      Owner:  reneeotten
      Type:  defect                     |     Status:  assigned
  Priority:  Normal                     |  Milestone:
 Component:  ports                      |    Version:  2.10.4
Resolution:                             |   Keywords:
      Port:  py-matplotlib, py-ipython  |
----------------------------------------+------------------------

Comment (by AgilentGCMS):

 Replying to [comment:10 reneeotten]:

 > Regarding the font cache. A bit of Googling suggests that removing the
 cache and then rebuilding it once, should/could resolve the issue. Most
 likely the cache is in {{{~/.matplotlib}}} and assuming you have made no
 specific changes manually there you should be able to just remove the
 directory. To make sure where {{{matplotlib}}} is looking for the cache
 you can do:
 > {{{
 > import matplotlib as mpl
 > print(mpl.get_cachedir())
 > }}}

 Came back here to say that that's the first thing I tried. I have deleted
 the font cache that `mpl.get_cachedir()` points repeatedly, and that has
 not solved this issue. I delete the font cache, and matplotlib rebuilds it
 the next time I execute `ipython --pylab`. That is fine. But then it
 rebuilds the cache every subsequent time as well, which is the annoyance.
 At this point I've given up and decided to live with it, because plotting
 works.

-- 
Ticket URL: <https://trac.macports.org/ticket/71316#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list