Skip to content

Heatmap.Rectangle#4553

Merged
swharden merged 2 commits intomainfrom
4550
Nov 23, 2024
Merged

Heatmap.Rectangle#4553
swharden merged 2 commits intomainfrom
4550

Conversation

@swharden
Copy link
Member

This PR adds a Rectangle property to Heatmap to make it easier to define the edges of a heatmap using a rectangle in coordinate space.

Note that Extent does something similar, but defines the rectangle containing the centers of each cell, and is one cell smaller in size than Rectangle

Extent = new(-5, 5, -5, 5) Rectangle = new(-5, 5, -5, 5)
image image

@swharden swharden enabled auto-merge (squash) November 23, 2024 20:21
@swharden swharden merged commit ab72fe6 into main Nov 23, 2024
@swharden swharden deleted the 4550 branch November 23, 2024 20:23
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.

Heatmap: Manually defined Extent does not produce the expected output Heatmap: How to display a heatmap over a given X and Y range

1 participant