RFCT Better use of matplotlib