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
You're right that the axis should be preserved.
I think it probably has an issue with calculating the left-most side of the axis that is smaller than 0.
I'll have to dig a little bit to see what is going on.
I can't currently see an elegant solution to this problem. Essentially, the scale expension produces negative values that cannot be transformed properly. We faced this in scale_x_sqrt() break calculations too, but for coord transforms we cannot simply squish the limits to the domain of the tranformation.
Instead, I'll suggest the following workaround, where we make a new transformation that will just be sqrt() for all positive values, but sign-preserves sqrt(abs(x)) for negative values. This was previously suggested here as well.
I believe the axis line should stay preserved, since sqrt(0)=0, or is there a conceptual error in my reasoning?
The text was updated successfully, but these errors were encountered: