danjgale / surfplot

A package for publication-ready brain surface figures
https://surfplot.readthedocs.io/en/latest/
Other
53 stars 14 forks source link

Mirror views in column or row layouts #2

Closed danjgale closed 3 years ago

danjgale commented 3 years ago

This adds a mirror_views option to Plot() so that both hemispheres can be plotted symmetrically in row or column views. An example of this is added to tutorial 4, where instead of plotting lateral, medial, lateral, medial views of left and right hemispheres, the view order can be changed to lateral, medial, medial, lateral, using mirror_views=True.

Under the hood, the right hemisphere order is reveresed. Mirroring is only applicable when both hemispheres are plotted in row or column layouts. The views themselves don't matter.