visualization: move legend to column on the right for matplotlib.