savefig Subroutine

public subroutine savefig(filename, dpi, transparent, bbox_inches)

Save current figure using matplotlib-compatible API.

dpi is applied to the figure before rendering so raster outputs honour the requested resolution. transparent and bbox_inches are accepted for signature compatibility; they are not yet wired to the raster/vector backends but are no-ops rather than warning targets so matplotlib-style code remains quiet.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(in), optional :: dpi
logical, intent(in), optional :: transparent
character(len=*), intent(in), optional :: bbox_inches