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

add IG square state versions #34

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

Conversation

elmeraa-usgs
Copy link
Collaborator

This MR makes square (1080 x 1080 pt) cartogram content for states of interest:

Deleware

DE_September_2023_Square

Maryland

MD_September_2023_Square

Copy link
Member

@cnell-usgs cnell-usgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot of repeated code in the functions here that makes this fairly inefficient and challenging to make edits to. Most of the code is the same but the dimensions or positioning changes.

Go back through your ig and cart_state functions and re-use the existing functions. You may need to add parameters to the inputs for output dimensions, or nudging placement. You really only need a couple plotting functions - one to make the cartogram and one for the national view. These can be re-used to make the other formats by providing filtered data as an input.

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.

2 participants