Find nice tick locations following matplotlib's MaxNLocator algorithm exactly
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | data_min | |||
| real(kind=wp), | intent(in) | :: | data_max | |||
| integer, | intent(in) | :: | target_num_ticks | |||
| real(kind=wp), | intent(out) | :: | nice_min | |||
| real(kind=wp), | intent(out) | :: | nice_max | |||
| real(kind=wp), | intent(out) | :: | nice_step | |||
| real(kind=wp), | intent(out) | :: | tick_locations(:) | |||
| integer, | intent(out) | :: | actual_num_ticks |