Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 665688

Summary: dev-python/basemap-1.0.7-r1 incompatibility with dev-python/matplotlib-2.2.2-r1
Product: Gentoo Linux Reporter: samurai.no.dojo
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sci-geosciences, tb
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 484270    
Bug Blocks:    

Description samurai.no.dojo 2018-09-11 08:36:28 UTC
dev-python/basemap-1.0.7-r1 incompatibility with dev-python/matplotlib-2.2.2-r1

It fails on use with:
Traceback (most recent call last):
  File "map.py", line 23, in <module>
    themap.fillcontinents(color = 'gainsboro',lake_color='steelblue')
  File "/usr/lib64/python2.7/site-packages/mpl_toolkits/basemap/__init__.py", line 1767, in fillcontinents
    axisbgc = ax.get_axis_bgcolor()
AttributeError: 'AxesSubplot' object has no attribute 'get_axis_bgcolor'

According to https://stackoverflow.com/questions/49469409/basemap-attribute-python it is caused by dev-python/basemap being too out of date.

It supposedly works with basemap 1.1.0.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-26 13:51:48 UTC
Old version removed.  Please reopen if you can still reproduce.