Add histogram to figure plots array (matplotlib-compatible).
Accepts the full set of matplotlib hist kwargs so that both the pyplot facade and the stateful figure method share the same behaviour.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(plot_data_t), | intent(inout) | :: | plots(:) | |||
| type(figure_state_t), | intent(inout) | :: | state | |||
| integer, | intent(inout) | :: | plot_count | |||
| real(kind=wp), | intent(in), | contiguous | :: | data(:) | ||
| integer, | intent(in), | optional | :: | bins | ||
| logical, | intent(in), | optional | :: | density | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| real(kind=wp), | intent(in), | optional | :: | range(2) | ||
| real(kind=wp), | intent(in), | optional | :: | weights(:) | ||
| logical, | intent(in), | optional | :: | cumulative | ||
| character(len=*), | intent(in), | optional | :: | orientation | ||
| real(kind=wp), | intent(in), | optional | :: | alpha |