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

Canvas plot with ratio="autot" results in interaction errors #354

Open
scottwittenburg opened this issue Jul 2, 2018 · 1 comment
Open
Assignees
Labels
Milestone

Comments

@scottwittenburg
Copy link
Collaborator

scottwittenburg commented Jul 2, 2018

When doing canvas.plot() using ratio="autot" and canvas.interact(), the longitude values given by the interaction popups are increasingly erroneous as you move away from center (longitude = 0) of the plot.

This was recently raised as an issue on vcs-js, see here. It can be reproduced as follows:

import vcs, cdms2

cltfile = cdms2.open(os.path.join(vcs.sample_data, "clt.nc"))
clt = cltfile("clt")
canvas = vcs.init(geometry={'width': 800, 'height':600})
box = canvas.createboxfill()
canvas.plot(clt, box, ratio="autot")
canvas.interact()

See the issue linked above for more details and screenshots.

@scottwittenburg scottwittenburg changed the title Canvas plot with ratio="autot" results in interaction errors Canvas plot with ratio="autot" results in interaction errors Jul 2, 2018
@doutriaux1 doutriaux1 self-assigned this Jul 2, 2018
@doutriaux1 doutriaux1 added the bug label Jul 2, 2018
@doutriaux1 doutriaux1 added this to the 8.1 milestone Jul 2, 2018
@jypeter
Copy link
Member

jypeter commented Jul 3, 2018

This sounds a lot like #251, but the issue was closed

@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
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

3 participants