You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thats why things like constrained_layout and tight_layout are necessary. By default, the axes only makes enough room for "normal" labels, but yours have a lot of decimal places, so the label is off the plot.
plt.figure(constrained_layout=True)
plt.figure(tight_layout=True)
or plt.savefig(bbox_inches='tight')
are the ways to handle this sort of problem.
Closing because there is nothing automatic we can do to fix this.
Bug report
Bug summary
Matplotlib removes part of the plot
Code for reproduction
Actual outcome
As you can see: The ylabel is partly missing
Expected outcome
There should be a "yLabel" written on the y-Axis.
Matplotlib version
print(matplotlib.get_backend())
): TkAggmatplotlib was installed via pip3 install matplotlib
The text was updated successfully, but these errors were encountered: