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

Current axis scale resets to 10A on each redraw #13

Open
dietervansteenwegen opened this issue Sep 24, 2021 · 2 comments
Open

Current axis scale resets to 10A on each redraw #13

dietervansteenwegen opened this issue Sep 24, 2021 · 2 comments

Comments

@dietervansteenwegen
Copy link

When changing the setting for the current scale (default 10), the chosen value is used until the next redraw.
On each redraw it reverts to 10A, which makes the current plot pretty useless when using a low current.

I'd try to fix this myself, but I'm just getting into PyQT myself so have no idea where to start. Yet...

@dietervansteenwegen
Copy link
Author

Commenting out self.twinax.set_ylim(0, 10) (line 117 in gui.py) lets matlibpot pick the sizing depending on minimum and maximum values in the plot.

However, this still doesn't store the user set value. I'll have to search further where the user set value gets stored.

@420pootang69
Copy link

Is there a way to change this easily in the windows port of the app. I know a little bit of Python, but I'm lost on this Windows version.
I run my battery tests at 15A, so the aoo being stuck at 10A is driving me insane.

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

No branches or pull requests

2 participants