Calculate nice axis limits that encompass the data like matplotlib The axis limits are set to nice round numbers based on tick locations
| 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 |