lib/python3.6/site-packages/matplotlib/tight_layout.py:181: UserWarning: Tight layout not applied. The bottom and top margins cannot be made large enough to accommodate all axes decorations.
warnings.warn('Tight layout not applied. '
This seems to be the reason for figure legend to overlap with the plot
This seems to be the reason for figure legend to overlap with the plot
Any suggestions on how to fix this?