Skip to content

Conversation

@Mc-Zen
Copy link
Member

@Mc-Zen Mc-Zen commented Nov 3, 2025

This PR

  • Adds an option to include an external image into a colormesh which is useful for very large meshes. Through min, max, and map, the colormesh instance can behave just as if it drew the mesh itself − including when colorbars are generated for the mesh.
  • Adds a parameter colormesh.align which determines how the mesh rectangles should be aligned at the x and y coordinates.
  • Adds the possibilty to specify edges of the mesh instead of points by passing x and y coordinate arrays which are one larger than the respective dimensions of the two-dimensional z array.

Examples for all three features are included in the documentation.

Closes #79 by allowing to include a colormesh that was generated by an external tool.

@Mc-Zen Mc-Zen merged commit 12a6970 into main Nov 3, 2025
1 check passed
@Mc-Zen Mc-Zen deleted the colormesh-with-image branch November 3, 2025 11:19
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.

Colormesh performance question

2 participants