|
9 | 9 | that behave differently when the data limits on a plot are changed. In general, |
10 | 10 | points on a plot can either be fixed in "data space" or "display space". |
11 | 11 | Something plotted in data space moves when the data limits are altered - an |
12 | | -example would be the points in a scatter plot. Something plotted in display space |
13 | | -stays static when data limits are altered - an example would be a figure title |
14 | | -or the axis labels. |
| 12 | +example would be the points in a scatter plot. Something plotted in display |
| 13 | +space stays static when data limits are altered - an example would be a |
| 14 | +figure title or the axis labels. |
15 | 15 |
|
16 | 16 | Arrows consist of a head (and possibly a tail) and a stem drawn between a |
17 | 17 | start point and end point, called 'anchor points' from now on. |
|
39 | 39 | # ----------------------------------------------------------------------- |
40 | 40 | # |
41 | 41 | # This is useful if you are annotating a plot, and don't want the arrow to |
42 | | -# to change shape or position if you pan or scale the plot. |
| 42 | +# to change shape or position if you pan or scale the plot. |
43 | 43 | # |
44 | | -# In this case we use `.patches.FancyArrowPatch` |
| 44 | +# In this case we use `.patches.FancyArrowPatch`. |
45 | 45 | # |
46 | 46 | # Note that when the axis limits are changed, the arrow shape stays the same, |
47 | 47 | # but the anchor points move. |
|
89 | 89 | # Head shape and anchor points fixed in data space |
90 | 90 | # ------------------------------------------------ |
91 | 91 | # |
92 | | -# In this case we use `.patches.Arrow` |
| 92 | +# In this case we use `.patches.Arrow`. |
93 | 93 | # |
94 | 94 | # Note that when the axis limits are changed, the arrow shape and location |
95 | 95 | # change. |
|
0 commit comments