Is it possible to anchor a matplotlib annotation to a data coordinate in the x-axis, but to a relative location in the y-axis?
问题 I have a plot where I'd like to annotate a specific location on the x-axis with an arrow and a label: The location of the tip of the arrow needs to be specified exactly in data coordinates. The arrow should be vertical, therefore the x-coordinate of the blunt end of the arrow (and the text label) should also be specified exactly in data coordinates. However, I would ideally like to be able to specify the y-position of the blunt end of the arrow relative to the axis bounding box, rather than