savefig_with_status Subroutine

public subroutine savefig_with_status(filename, status, dpi, transparent, bbox_inches)

Save the figure and return a status code.

Parameters filename : character(len=), intent(in) Output path. The extension selects the backend. status : integer, intent(out) Return status from the save operation. dpi : integer, optional Raster resolution applied before rendering. transparent : logical, optional Accepted for matplotlib parity. bbox_inches : character(len=), optional Accepted for matplotlib parity.

Arguments

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