You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Inner border is not rendered correctly when using log-scale and polar projection. #30179
@jklymak yes maybe I was not clear enough. I still want there to be a radial offset, so there is an inner border like in the plot under "Expected outcome" in the initial issue statement.
I attached a plot with the marked border, that is missing in the other plots, in red.
Activity
jklymak commentedon Jun 15, 2025
You have to call ax.set_rmin() as well
tillboehringer commentedon Jun 15, 2025
ax.set_rmin() won't give me the correct result, also the same if I switch the order of rmin and rorigin.
jklymak commentedon Jun 15, 2025
You are not being clear on what is "correct" here. The above looks correct to me.
rcomer commentedon Jun 15, 2025
@jklymak I think they mean the inner spine is in the wrong place - it’s all bunched up at the origin but should be at rmin.
tillboehringer commentedon Jun 15, 2025
@jklymak yes maybe I was not clear enough. I still want there to be a radial offset, so there is an inner border like in the plot under "Expected outcome" in the initial issue statement.
I attached a plot with the marked border, that is missing in the other plots, in red.
jklymak commentedon Jun 16, 2025
I see. Thanks - that does seem to be a bug - not sure what is causing that.
rcomer commentedon Jun 19, 2025
Possibly the logic here needs to account for the axis scale
matplotlib/lib/matplotlib/spines.py
Lines 273 to 275 in 8b82729
QuLogic commentedon Jun 20, 2025
If you set the colour of the Axes, you can see that the Axes patch is also too big:
The inner spine location is actually set by the Axes wedge, so the place to fix the problem is in there somewhere.