Check for each artist whether it is filled or not Parameters ---------- axes : matplotlib Axes object, or its list-like filled : bool expected filling
(axes: Axes | Sequence[Axes], filled: bool = True)
| 107 | |
| 108 | |
| 109 | def _check_patches_all_filled(axes: Axes | Sequence[Axes], filled: bool = True) -> None: |
| 110 | """ |
| 111 | Check for each artist whether it is filled or not |
| 112 | |
| 113 | Parameters |
| 114 | ---------- |
| 115 | axes : matplotlib Axes object, or its list-like |
| 116 | filled : bool |
| 117 | expected filling |
| 118 | """ |
| 119 | |
| 120 | axes = _flatten_visible(axes) |
| 121 | for ax in axes: |
| 122 | for patch in ax.patches: |
| 123 | assert patch.fill == filled |
| 124 | |
| 125 | |
| 126 | def _get_colors_mapped(series, colors): |