How to tweak PolarAxis?

Two things I would like to clarify:

  • How to remove these empty areas marked by red
  • How to correctly put labels at their places: at least put ylabel tilted. As you see I used dummy axis, because PolarAxis can not put them.

begin
    f = Figure()
    inner_axis = Axis(f[1:4, 1:2], aspect = DataAspect())
 
    ax = PolarAxis(
        f[1:4, 3:4],
        thetalimits = (-π / 5, π / 5),
        theta_0 = π / 2,
        backgroundcolor = :gray,
    )

    # Dummy cartesian axis for labels
    ax_dummy = Axis(f[2:4, 3:4],
        xlabel = "Estimate",
        ylabel = "Uncertainty",
        yaxisposition = :right,
    )
    hidedecorations!(ax_dummy, label = false)
    hidespines!(ax_dummy)
    tightlimits!(ax_dummy)
    f
end


If you are looking for this, just adjust fig

    f = Figure(size = (1000, 1000))
    inner_axis = Axis(f[1:2, 1:2], aspect = DataAspect())
 
    ax = PolarAxis(
        f[1:2, 1:2],

I think the PolarAxis reserves a bit of margin space for the tick labels and additionally, because it has a fixed aspect, your figure is basically too high for it. There’s no way to “fill” the vertical space in that sense, the optimal space for that size of polar axis is just less tall than what you have. There’s also currently no way to reduce the margin space, would be nice to have a parameter for that I think