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

Change Hexgrid._connect_cells_2d to use x,y coordinates #2632

Merged
merged 4 commits into from
Jan 20, 2025

Conversation

quaquel
Copy link
Member

@quaquel quaquel commented Jan 20, 2025

This fixes #2631 by changing the coordinates and offsets for connecting the grid to use x,y coordinates instead of row, col coordinates. Below, you see the resulting fixed visual.

Unknown

Copy link
Member

@tpike3 tpike3 left a comment

Choose a reason for hiding this comment

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

LGTM

@quaquel this will allow #2610 and #2609 to be merged, correct?

@quaquel
Copy link
Member Author

quaquel commented Jan 20, 2025

@tpike3 yes

@quaquel quaquel merged commit d71f688 into projectmesa:main Jan 20, 2025
11 checks passed
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.

Bug in visualization of hexgrids
2 participants