p = psy.plot.mapplot(in_file,
name=var_name,
projection=projection,
map_extent=[lonmin,lonmax,latmin,latmax])
plt.savefig('plot.png')
Problem description
The plotted area extends over the whole figure when I specify a sub-domain with map_extent. The issue does not occur when the script is employed interactively within ipython, only when the figure is saved as .png. Additionally specifying lonlatbox=[lonmin,lonmax,latmin,latmax] does not solve the issue.
hey @swester! my apologies for the delay! I will resolve this with the release that will be published this week. I am closing this issue as a duplicate of #37
Code Sample, a copy-pastable example if possible
Problem description
The plotted area extends over the whole figure when I specify a sub-domain with map_extent. The issue does not occur when the script is employed interactively within ipython, only when the figure is saved as .png. Additionally specifying
lonlatbox=[lonmin,lonmax,latmin,latmax]
does not solve the issue.Expected Output
I'd like to have a clean cut at the edges.
Output of
psyplot -aV
NOTE