(position, prepend_inside=False)
| 69 | |
| 70 | |
| 71 | def _prepare_position(position, prepend_inside=False): |
| 72 | if position is None: |
| 73 | position = "top right" |
| 74 | pos_str = position |
| 75 | position = set(position.split(" ")) |
| 76 | if prepend_inside: |
| 77 | position = _add_inside_to_position(position) |
| 78 | return position, pos_str |
| 79 | |
| 80 | |
| 81 | def annotation_params_for_line(shape_type, shape_args, position): |
no test coverage detected