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

The grid does not update when the zoom is changed with panel.set_lim #35

Open
Mriv31 opened this issue Feb 19, 2022 · 0 comments
Open
Labels

Comments

@Mriv31
Copy link

Mriv31 commented Feb 19, 2022

In panzoom the grid updates automatically when you move in and out with the mouse.
However, when you use panel.set_lim(), the spacing between ticks and grids does not update. This gives rise to very close grids and ticks when you unzoom (see screenshot below) and no grids/ticks at all when you zoom in.

EDIT 20/02/2022 15:40
adding _axes_refresh(panel->controller,true);
at the end of the function dvz_panel_lim_set in panel.c
does the job !

image

@rossant rossant added the bug label Feb 21, 2022
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

2 participants