Commit 6901cd8
Fix dotplot vcenter=0 being ignored due to falsy check
`if vcenter:` evaluates to False when vcenter=0, so TwoSlopeNorm was
never applied. Changed to `if vcenter is not None:` and added vcenter=0
to the parametrized test.
Closes #293
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6249825 commit 6901cd8
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments