Commit aca3f93
Fix theta_label_pad being overwritten by facet margin padding
facet.set_limits_breaks_and_labels() called ax.tick_params(axis='x', pad=pad_x)
after coord.draw(), silently overwriting any custom theta_label_pad set by
coord_radial. Add a post_setup_ax() hook to the coord base class, called by
set_limits_breaks_and_labels after the margin pad, so coord_radial can apply
theta_label_pad at the correct point in the rendering pipeline.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9a5c752 commit aca3f93
3 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
115 | 123 | | |
116 | 124 | | |
117 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
| |||
0 commit comments