Use
For all plot diagrams, the axes are drawn last, meaning that they appear 'over' axis labels, functions or plotted functions
Consider this part of a standard school-book style diagram where we have a tick mark at 0.1:
The axis is overlapping with the tick label, which is expected, however, if we were able to 'elevate' this tick above the axes (and add place in a white fill box or similar), we would be able to get:
Annotations
The above was done With on-layer in the body of a plot.annotate, and yes, this output is acceptable, however, this is significantly more verbose and, more importantly, does not use the already established API for adding ticks to plots, of any kind.
An idea might be to simply switch the order of drawing tick labels vs axis plots given a flag, but I'm unsure as to whether this can be easily implemented.
Use
For all plot diagrams, the axes are drawn last, meaning that they appear 'over' axis labels, functions or plotted functions
Consider this part of a standard school-book style diagram where we have a tick mark at 0.1:
The axis is overlapping with the tick label, which is expected, however, if we were able to 'elevate' this tick above the axes (and add place in a white fill box or similar), we would be able to get:
Annotations
The above was done With
on-layerin the body of aplot.annotate, and yes, this output is acceptable, however, this is significantly more verbose and, more importantly, does not use the already established API for adding ticks to plots, of any kind.An idea might be to simply switch the order of drawing tick labels vs axis plots given a flag, but I'm unsure as to whether this can be easily implemented.