brainglobe / brainglobe-heatmap

Rendering anatomical heatmaps with brainrender and matplotlib
https://brainglobe.info
MIT License
34 stars 10 forks source link

Example with zebrafish and overlapping histology #5

Closed vigji closed 2 years ago

vigji commented 2 years ago

Another example illustrating the use that the slicer can have for showing raw imaging data together with region annotation.

Result should look like:

Screenshot 2022-01-21 at 16 18 59

.

FedeClaudi commented 2 years ago

That's beautiful!

Only recomendation I would make: add an outline to the text (e.g. black text + white outline) to make it more readable. Or wrote the text twice with different font sizes.

Code: https://github.com/FedeClaudi/mathplotlib/blob/255848e767006e60bf1b61585b04812c128d3270/mathplotlib/base.py?_pjax=%23js-repo-pjax-container%2C%20div%5Bitemtype%3D%22http%3A%2F%2Fschema.org%2FSoftwareSourceCode%22%5D%20main%2C%20%5Bdata-pjax-container%5D#L34

Example: https://github.com/FedeClaudi/Slam

image