Open joelsewhere opened 1 week ago
This seems fair. Open to implementation suggestions for sure.
I guess practically, is there a good reason why some charts need to be png and other charts need to be jpg? I can imagine SVG being a use-case, though.
I just had an instance where I needed the background to be transparent. All documented examples of creating a transparent output failed until I switched the format to png. SVG would probably work great too!
The current decorator hard codes 'jpg' as the format. Can we make that setting configurable? Probably two ways of doing this
matplotlib.rcParams