earthgecko / skyline

Anomaly detection

Home Page:http://earthgecko-skyline.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'AxesSubplot' object has no attribute 'set_axis_bgcolor'

earthgecko opened this issue · comments

skyline/analyzer/alerters.py and skyline/mirage/mirage_alerters.py makes use of a method from Matplotlib that was removed in 2.2.0
With the Luminosity branch upgrade to matplotlib==2.2.2 for IssueID #2272 an error is now occurring:

2018-04-17 15:21:58 :: 30308 :: Traceback (most recent call last): File "/opt/skyline/github/skyline/skyline/mirage/mirage_alerters.py", line 473, in alert_smtp ax.set_axis_bgcolor('black') AttributeError: 'AxesSubplot' object has no attribute 'set_axis_bgcolor'

2018-04-17 15:21:58 :: 30308 :: error :: alert_smtp - could not build plot

As per scikit-learn/scikit-learn#10762 and https://github.com/scikit-learn/scikit-learn/pull/10763/files