Resolve matplotlib 'best' placement to a concrete corner. Computes the legend box for each candidate corner and scores it by the number of plotted artist sample points its bbox covers; the lowest overlap wins, ties broken in matplotlib's order (upper right first).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | labels(:) | |||
| real(kind=wp), | intent(in) | :: | data_width | |||
| real(kind=wp), | intent(in) | :: | data_height | |||
| integer, | intent(in) | :: | num_entries | |||
| real(kind=wp), | intent(in) | :: | artist_x(:) | |||
| real(kind=wp), | intent(in) | :: | artist_y(:) | |||
| integer, | intent(in), | optional | :: | pixel_plot_width | ||
| integer, | intent(in), | optional | :: | pixel_plot_height |