Commit f70b84d
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- examples/user_guide
- images
2 files changed
+86
-54
lines changedLarge diffs are not rendered by default.
Loading
0 commit comments