I don’t know if my scenario was the same as yours, but I solved my issue by adding the parameter bbox_inches="tight"
to the savefig
call.
That may be valuable for people that stumble on this question given its title. It would have been for me…
I don’t know if my scenario was the same as yours, but I solved my issue by adding the parameter bbox_inches="tight"
to the savefig
call.
That may be valuable for people that stumble on this question given its title. It would have been for me…