Skip to content

Commit f70b84d

Browse files
committed
Fix blank panels in reproject notebook preview image
xarray's plot.imshow sets aspect ratio based on coordinate extent. When mixing degree-scale (EPSG:4326) and meter-scale (EPSG:3857) panels in the same figure, the meter-scale panels get squeezed to near-zero width. Fix by calling set_aspect('auto') on all subplot axes so each panel fills its allocated space regardless of coordinate scale.
1 parent fa21ab3 commit f70b84d

File tree

2 files changed

+86
-54
lines changed

2 files changed

+86
-54
lines changed

examples/user_guide/34_Reproject.ipynb

Lines changed: 86 additions & 54 deletions
Large diffs are not rendered by default.
74.1 KB
Loading

0 commit comments

Comments
 (0)