We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23e2937 commit e567e7cCopy full SHA for e567e7c
1 file changed
LabelGenerator.py
@@ -347,6 +347,7 @@ def draw_resistor_colorcode(
347
num_codes: int,
348
tolerance_value: Optional[float],
349
) -> None:
350
+ # Only display resistors that can accurately represent the given value
351
if value.ohms_val % (10 ** (4 - num_codes)):
352
return
353
0 commit comments