Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix variable annotation in symlog mode #169

Open
nikohansen opened this issue May 12, 2021 · 2 comments
Open

Fix variable annotation in symlog mode #169

nikohansen opened this issue May 12, 2021 · 2 comments

Comments

@nikohansen
Copy link
Contributor

Like invoked by

cma.plot(xsemilog=True)

0281

@nikohansen
Copy link
Contributor Author

nikohansen commented Dec 5, 2021

gca().get_transform().inverted() may be useful to achieve this, see also the class documentation of the value of gca().get_transform() here.

subplot(2, 3, 1).axes._yaxis_transform.inverted().transform(...)

asks a 2-D array input, not sure what that does.

gca().transScale

may be relevant.

@nikohansen
Copy link
Contributor Author

As a small improvement, the annotation in the next version will be at the y-value instead of equally spaced on the linear scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant