Draw a text-box anchored to the upper-left corner of the figure.
(ax)
| 23 | |
| 24 | |
| 25 | def draw_text(ax): |
| 26 | """Draw a text-box anchored to the upper-left corner of the figure.""" |
| 27 | box = AnchoredOffsetbox(child=TextArea("Figure 1a"), |
| 28 | loc="upper left", frameon=True) |
| 29 | box.patch.set_boxstyle("round,pad=0.,rounding_size=0.2") |
| 30 | ax.add_artist(box) |
| 31 | |
| 32 | |
| 33 | def draw_circles(ax): |
no test coverage detected
searching dependent graphs…