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

MacPorts noreply at macports.org
Sun Nov 24 02:23:33 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 reneeotten):

 Replying to [comment:8 reneeotten]:
 > Replying to [comment:7 AgilentGCMS]:
 > > Ah I see. When you said upstream I didn't realize you meant "the
 current version on PyPI/GitHub". I upgraded to ipython 8.29.0, the latest
 release, and indeed I can now use the `MacOSX` backend. However,
 rebuilding the matplotlib font cache every time I issue `ipython --pylab`
 is still happening.
 >
 > Great - that's progress! I will take a look at the font cache
 rebuilding; I haven't seen that myself I think but might not have been
 paying attention...

 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())
 }}}

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


More information about the macports-tickets mailing list