Matplotlib 3d plot: como se livrar do espaço em branco excessivo?

Se eu fizer um gráfico 3D no Matplotlib:

from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = fig.gca(projection='3d')

x_labels = [10,20,30]
x = [1,2,3,4]
y = [3,1,5,1]
legend = False

for label in x_labels:
    x_3d = label*np.ones_like(x)
    ax.plot(x_3d, x, y, color='black', label='GMM')
    if legend == False:
        ax.legend()
        legend = True

ax.set_zlabel('test')

Produzirá:

O lado esquerdo tem espaço em branco excessivo. Eu quero saber se é possível se livrar dele?

questionAnswers(1)

yourAnswerToTheQuestion