Transforms plots so they have black background