geomagpy/magpy

AttributeError: 'StatusBar' object has no attribute 'set_function' on Windows

Opened this issue · 0 comments

When installing magpy on windows 10 via the magpy-1.0.0.exe on the ZAMG website.
It installs

  • python-3.7.4
  • matplotlib 3.2.0.rc1
  • wxPython 4.0.7.post2

When launching geomag there is an event that causes an attribute error in order to update the statebar with x,y coordinates.
This is due to the version of matplotlib by upgrading with pip install matplotlib==3.4.2 this issue dissapears but needs to be embedded in the .exe that is distributed