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

Make IMAQdx camera tab restore more of the display's settings #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zakv
Copy link

@zakv zakv commented Jul 31, 2020

This PR makes the IMAQdx camera's blacs tab save and restore some settings related to the ranges of the axes in the display. In particular it saves/restores the ranges of the x and y directions, as well as the ranges of the colorscale. It also saves/restores whether autoscaling is enabled for the x and y axes.

This was first discussed on the mailing list and has been used in our lab's PCO camera device code since then. As suggested in that email thread, I'm issuing a PR to move that code to the base class now that the transition to git/github is complete. Notably this PR does not set autoRange=True whenever the image size changes even though that idea was floated in the email chain, so the behavior there remains the same as before.

@philipstarkey philipstarkey self-assigned this Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants