Closed Electro707 closed 2 years ago
I was working in the past few days on adding (and fixing) type annotations on the whole project. The changes are now pushed and the types are checked in CI. I think all the bugs that this PR fixes are already addressed.
Please, test the resistor feature and if possible, add some tests for it.
This PR fixes an issue with wrong callback functions in
plot.py
where it finds the values and colors for a THT resistor, and fixes the variable name used inui.py
where it gets the resistor values to be flipped.Also fixed the style loading code, where it still looked at the old path and the
load_style
function was givenname
instead of the foundpath