We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from mpl_toolkits.basemap import Basemap import numpy as np import numpy as np import matplotlib.pyplot as plt m = Basemap(llcrnrlon=-180., llcrnrlat=-90, urcrnrlon=180., urcrnrlat=90.,resolution='c', projection='cyl') m.drawcoastlines() m.drawlsmask(ocean_color=(0,0,255,255), land_color=(0,128,0,255), lakes=True) plt.savefig('test.png')
This example with ~/.config/matplotlib/matplotlibrc: backend: cairo gives a map where the result of draslsmask() is upside down:
Removing the file ~/.config/matplotlib/matplotlibrc gives a correct result. This is on Fedora 25 with python-basemap-1.0.7-14.fc25.x86_64
Not a real problem for me anymore but just trying to document it if other people are seeing these upside down maps.
The text was updated successfully, but these errors were encountered:
This is a bug with matplotlib matplotlib/matplotlib#7156 that will be fixed in 2.0.0.
Sorry, something went wrong.
No branches or pull requests
This example with ~/.config/matplotlib/matplotlibrc: backend: cairo gives a map where the result of draslsmask() is upside down:
Removing the file ~/.config/matplotlib/matplotlibrc gives a correct result. This is on Fedora 25 with python-basemap-1.0.7-14.fc25.x86_64
Not a real problem for me anymore but just trying to document it if other people are seeing these upside down maps.
The text was updated successfully, but these errors were encountered: