1
私のFigureのz軸のラベルの位置を変更する方法を教えてください。これは私の姿がどうしてように見えますか? matplotlibの軸のラベルがティックで上書きされます
これは私のコードです:
import matplotlib.pyplot as plt
fig = plt.figure(figsize=(10,8))
ax = fig.gca(projection='3d') # get current axis
surf = ax.plot_surface(X, Y, Z)
ax.set_xlabel('Intercept')
ax.set_ylabel('Slope')
ax.set_zlabel('Error')