Make both healpix_show and healpix_contour deduce the default resolution of the bitmap from the figure size and its dpi. This should be a slightly more "natural" default in the Matplotlib world as it automatically takes into account changing figures sizes and aspect ratios.
edit: Base calculation on actual bounding box of the axes (!) to also take into account subfigures.
Make both
healpix_show
andhealpix_contour
deduce the default resolution of the bitmap from the figure size and its dpi. This should be a slightly more "natural" default in the Matplotlib world as it automatically takes into account changing figures sizes and aspect ratios.edit: Base calculation on actual bounding box of the axes (!) to also take into account subfigures.