(val)
| 219 | yMarks = set() |
| 220 | |
| 221 | def addYMark(val): |
| 222 | if val is None: |
| 223 | return |
| 224 | # Round according to shown Y range - the bigger the range, |
| 225 | # the rougher the rounding |
| 226 | if yDiff != 0: |
| 227 | rounded = roundToPrec(val, 4, nsValue=yDiff) |
| 228 | else: |
| 229 | rounded = val |
| 230 | # If due to some bug or insufficient plot density we're |
| 231 | # out of bounds, do not add anything |
| 232 | if minY <= val <= maxY or minY <= rounded <= maxY: |
| 233 | yMarks.add(rounded) |
| 234 | |
| 235 | for source, target in iterList: |
| 236 | xs, ys = plotData[(source, target)] |
nothing calls this directly
no test coverage detected