python - Zoom out in Matplotlib -
I have a plot, and I need this specific approach that I have chosen. See the picture below:
now , As you can see, the very lower part of my axis is lost because matplotib is cutting it. There is no way to zoom out of the plot as a program, so everything is fitted in the window.
This is your original code:
values_all = zip ( * Values_all) x = range (lane (values_all [0]) y = range (values_all) figure = plt.figure (1, figsize = (10, 7)) ax = axes3d (figure azim = -124, (= X, y, values_all, linewidth = 0, rstride = 1, cstride = 1, CMAP = Cm.jet) plt.colorbar (surface, shrink = 0.4, aspect = 10) plt.show ()
C
plt.tight_layout ()
ago
plt.show ()
Comments
Post a Comment