Commit a048ef2
committed
fix(bar): handle empty significance plot without error
When statistical testing yields no significant results, the `comparisons` list is empty, which previously caused the function to crash.
A conditional check has been added to exit the function early in such cases, as no plotting is needed.1 parent 98eb400 commit a048ef2
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| |||
0 commit comments