Commit e9d95f3
Fix start-angle rotation hiding bars for full-circle plots
coord_polar hardcoded x limits to [0, 2π], but _to_radians maps data
to [start, start+2π]. With start=3π/2 the bars from ~Oct–Mar land at
theta > 2π and get clipped by the xlim. Fix by setting limits to
[start, start+2π] so the data range always falls within the visible
window. Remove the now-redundant break-wrapping mod-2π in coord_radial
since breaks in [start, start+2π] are naturally within the new limits.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 61777e6 commit e9d95f3
2 files changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
90 | | - | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 163 | | |
170 | 164 | | |
171 | 165 | | |
| |||
0 commit comments