-
Notifications
You must be signed in to change notification settings - Fork 594
Description
Currently, when doing several plots on top of each other with too different data scales their Y axes will be placed at different distance to the plot area edge:
The mentioned gaps are marked with pink "|——|"
It seems this misalignment of Y axes comes from the fact that tick labels on different plots have different widths.
Additionally, presence or absence of Y axis label also contributes substantially to the gap width.
When plotting data that have the same X-axis span it is visually better to have those plots of the same width.
In my particular case, all plots have the same X-limits and also have vertical line highlighting "current" element on each plot.
Because Y-axis of each plot is shifted by different amount from the plot area edge those vertical lines on different plots are shifted horizontally as well despite the fact that their X-position on all plots is the same.
So we need a setting that define the distance between left plot area edge (or the right one if the Y-axis is on the right side) and the Y-axis.
This distance should be respected with or without Y-axis label and regardless of the Y-axis tick label width.
Alternatively, there could be a trick: if the distance is negative then its absolute value define the minimal distance from the plot area edge to the Y-axis but too wide tick labels are allowed to shift the Y-axis to the right (similar to the current behavior).
P.S. Sorry, I could not find the "feature request template" in the new issue editor so wrote the request the way it is