destroy Subroutine

private subroutine destroy(me)

Destructor.

Type Bound

pyplot

Arguments

Type IntentOptional Attributes Name
class(pyplot), intent(inout) :: me

pyplot handler


Called by

proc~~destroy~~CalledByGraph proc~destroy pyplot%destroy proc~initialize pyplot%initialize proc~initialize->proc~destroy

Source Code

    subroutine destroy(me)

    class(pyplot),intent(inout) :: me !! pyplot handler

    if (allocated(me%str))      deallocate(me%str)
    if (allocated(me%real_fmt)) deallocate(me%real_fmt)

    me%raw_str_token = ' '

    end subroutine destroy