Implement black and white for matplotlib