I would like to know if it is possible to have the x-ticks (major and minor) displayed on all horizontal grid lines of a matplotlib graph.
I have a large line graph with many mostly vertical lines (see image). I use horizontal grid lines because they do not interfere with the data. But I do not want to use vertical grid lines because the graph is already quite busy.
What I would like is to have major and minor vertical tick marks shown on every horizontal grid line (as if I had shown all vertical grid lines, but erased everywhere that wasn't crossing a horizontal grid line).
Is this possible?
Here is a sample image that needs the vertical ticks added to every grey horizontal grid line.