add framealpha argument for legend
fix PEP8
Merge pull request #1626 from piti118/legend_frame_alpha

Add framealpha argument for legend