(with_boxes)
| 238 | x = y = [0, 1] |
| 239 | |
| 240 | def _subplots(with_boxes): |
| 241 | fig, axs = plt.subplots(rows, cols) |
| 242 | for ax, color in zip(axs.flat, colors): |
| 243 | ax.plot(x, y, color=color) |
| 244 | if with_boxes: |
| 245 | add_offsetboxes(ax, 20, color=color) |
| 246 | return fig, axs |
| 247 | |
| 248 | # 0. |
| 249 | fig0, axs0 = _subplots(False) |
no test coverage detected
searching dependent graphs…