Commit c14043d
Fix Pylance type errors: format_func lambda now returns str
Replace _AXIS_LABELS.get with lambda k: _AXIS_LABELS.get(k) or str(k)
so Pylance can verify the return type is always str, not str | None.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c3a2463 commit c14043d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments