()
| 828 | |
| 829 | |
| 830 | def test_annotate_default_arrow(): |
| 831 | # Check that we can make an annotation arrow with only default properties. |
| 832 | fig, ax = plt.subplots() |
| 833 | ann = ax.annotate("foo", (0, 1), xytext=(2, 3)) |
| 834 | assert ann.arrow_patch is None |
| 835 | ann = ax.annotate("foo", (0, 1), xytext=(2, 3), arrowprops={}) |
| 836 | assert ann.arrow_patch is not None |
| 837 | |
| 838 | |
| 839 | def test_annotate_signature(): |