[GridSubplot] use fig.legend for plotting the legend

Merged Amir MOHAMMADI requested to merge fig-legend into master

Merge request reports