contour_colorbar_default_ticks Subroutine

public subroutine contour_colorbar_default_ticks(levels, ticks)

Match Matplotlib's FixedLocator(levels, nbins=10), including its phase.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: levels(:)
real(kind=wp), intent(out), allocatable :: ticks(:)