We are generating chart in files but the axis labels are cut off in the generated files.
If we pass bbox_inches='tight' in the call to plt.savefig then the rendered labels are not cut off.
As a more general fix we can modify the method BinningTable.plot and redefined method in derived classes to accept a dictionary argument save_kwargs to be expanded in the call to plt.savefig
We are generating chart in files but the axis labels are cut off in the generated files.
If we pass
bbox_inches='tight'
in the call toplt.savefig
then the rendered labels are not cut off.As a more general fix we can modify the method
BinningTable.plot
and redefined method in derived classes to accept a dictionary argumentsave_kwargs
to be expanded in the call toplt.savefig