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

extend viewbox to the plotting area #30

Open
jordansread opened this issue Nov 4, 2017 · 0 comments
Open

extend viewbox to the plotting area #30

jordansread opened this issue Nov 4, 2017 · 0 comments
Labels

Comments

@jordansread
Copy link

jordansread commented Nov 4, 2017

The current code for viewbox_limits seems to return the limits of the bbox in proj space after the transform - it does not increase the limits to account for the aspect ratio of the plot being different from the aspect ratio of the bbox.

So, things look like this:
test
where the rectangle in black is the viewbox_limits, but it should actually extend to the full bounds of the plot in this case (since the plot was created w/ the same dimensions of the plotting metadata).

@jordansread jordansread added the bug label Nov 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant