Plotting the legend "above" the gridlines

The command:

ax = lab.subplot(111, axisbelow=‘True’)

ensures that the gridlines appear below the bars on a plot;

how can the same be done for the legend (ie the grid

below the legend and not running through it)?

Thanks

Derek

···


This message is subject to the CSIR’s copyright, terms and conditions and e-mail legal notice.
Views expressed herein do not necessarily represent the views of the CSIR.

CSIR E-mail Legal Notice

CSIR Copyright, Terms and Conditions

For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice
send a blank message with “REQUEST LEGAL” in the subject line to CSIR CallCentre

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.