Enable a stateful colorbar for the current figure.
This mirrors matplotlib's pyplot behavior: the colorbar is configured independently from plot creation and is rendered during save/show.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(figure_state_t), | intent(inout) | :: | state | |||
| type(plot_data_t), | intent(in) | :: | plots(:) | |||
| integer, | intent(in) | :: | plot_count | |||
| integer, | intent(in), | optional | :: | plot_index | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | location | ||
| real(kind=wp), | intent(in), | optional | :: | fraction | ||
| real(kind=wp), | intent(in), | optional | :: | pad | ||
| real(kind=wp), | intent(in), | optional | :: | shrink | ||
| real(kind=wp), | intent(in), | optional | :: | ticks(:) | ||
| character(len=*), | intent(in), | optional | :: | ticklabels(:) | ||
| real(kind=wp), | intent(in), | optional | :: | label_fontsize |