Skip to content

Conversation

@jnumainville
Copy link
Collaborator

Converts map center to TypedDict

@jnumainville jnumainville requested review from a team, Copilot and mattrunyon and removed request for a team January 29, 2026 18:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request improves type safety for map plotting functions by introducing a typed dictionary for map center coordinates. The change replaces generic dict[str, float] type hints with a more descriptive MapCenter TypedDict.

Changes:

  • Introduced MapCenter TypedDict to provide structured typing for map center coordinates
  • Updated type hints for the center parameter across five map plotting functions
  • Added TypedDict import from the typing module

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@mattrunyon mattrunyon left a comment

Choose a reason for hiding this comment

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

Looks like some tests are failing

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