Draw an ellipse of width=0.1, height=0.15 in data coordinates.
(ax)
| 41 | |
| 42 | |
| 43 | def draw_ellipse(ax): |
| 44 | """Draw an ellipse of width=0.1, height=0.15 in data coordinates.""" |
| 45 | aux_tr_box = AuxTransformBox(ax.transData) |
| 46 | aux_tr_box.add_artist(Ellipse((0, 0), width=0.1, height=0.15)) |
| 47 | box = AnchoredOffsetbox(child=aux_tr_box, loc="lower left", frameon=True) |
| 48 | ax.add_artist(box) |
| 49 | |
| 50 | |
| 51 | def draw_sizebar(ax): |
no test coverage detected
searching dependent graphs…