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
To use the first example as a starting point, say I want to put all the labels for the lines to the right of the lines at x=1.05. Right now if I try to do the below, I get the error: ValueError: x label location is outside data range!
But I think it would be useful functionality to be able to place a label at an arbitrary x value for the closest data edge's y value.
An alternative way to get this behavior would be to allow passing in an xoffset for the labels.
The difficulty with the general case is that you'd have to interpolate somehow the data outside of its range - and there are no unique choices for the interpolation: linear? same value? cubic? Your suggestion of having an x-offset seems easier.
Unfortunately, I don't have the bandwidth to implement any new feature but I would be happy to review any PR if you want to have a go!
To use the first example as a starting point, say I want to put all the labels for the lines to the right of the lines at x=1.05. Right now if I try to do the below, I get the error:
ValueError: x label location is outside data range!
But I think it would be useful functionality to be able to place a label at an arbitrary x value for the closest data edge's y value.
An alternative way to get this behavior would be to allow passing in an xoffset for the labels.
The text was updated successfully, but these errors were encountered: