Skip to content
New issue

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

Use the default zorder of LineCollections for county polycollections. #340

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WeatherGod
Copy link
Member

Closes #324.

@WeatherGod
Copy link
Member Author

Using as test code:

import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap

mm = Basemap(projection = 'merc', lat_0 = 42.0, lon_0 = -83.0, resolution = 'i', area_thresh = 0.1,
            llcrnrlon = -86.0, llcrnrlat = 39.0, urcrnrlon = -80.0, urcrnrlat = 45.0)
mm.drawmapboundary()
mm.fillcontinents(color = 'brown', lake_color = 'blue')
mm.drawcounties()
plt.show()

The counties show up now when they didn't before.

Technically speaking, this would break things for those who were expecting counties to have zorder of 0 and set the zorder for their things to be between 0 and 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant