Marsilea-viz / marsilea

Declarative creation of composable visualization for Python (Complex heatmap, Upset plot, Oncoprint and more~)
https://marsilea.rtfd.io/
MIT License
166 stars 6 forks source link

Auto adjustment of canvas size for `SizedMesh`? #5

Closed Mr-Milk closed 1 year ago

Mr-Milk commented 1 year ago

The default width and height of the canvas are fixed. However, the canvas to draw SizedMesh should be automatically adjusted according to the data size to get a better looking.

Situation to be considered: Whose canvas size should be accepted if adding multiple SizedMesh or multiple layers?