You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Enhancement request] Direction variable for axis title #1
When creating a y-axis on the right side of the plot the title's offset has to be calculated differently than the label offset in case the (major) ticks have the direction CPTSignNone. This is quite confusing.
The reason for this behavior is that the axis title has in contrast to the axis labels no own direction but the direction of the major ticks is used. In case of CPTSignNone for the ticks the API has to make a decision in which direction the title is to be placed: it chooses the negative direction (which is OK for all axes on the left or bottom side of a graph but not for an axis on the right side).
A workaround is to assign a negative title offset. But this is strange as the label offset is positive in case the labels have a positive direction.
Therefore, I suggest to add for the axis title a direction, too.
Activity
Added an axis property to control the offset direction of the title i…