[Python] How to reclaim horizontal space made available by removing labels and ticks?

Discussão em 'Python' iniciado por Stack, Agosto 5, 2025.

  1. Stack

    Stack Membro Participativo

    I have a row of subplots which start with a histogram and the rest are some qqplots:

    [​IMG]

    I removed the y axis and ticks labels using

    for ax in axqq[1:]:
    ax.set_ylabel(None)
    ax.tick_params(labelleft=False)
    # does not help ax.yaxis.set_visible(False)
    ax.sharey(axqq[0])
    fig.tight_layout()


    I would like to remove the horizontal whitespace between the QQ plots.

    Since my subplots are not homogeneous (the 1st subplot is a histogram), fig.subplots_adjust does not help.

    Continue reading...

Compartilhe esta Página