Factor common parts of saving to different formats using pillow. We don't need to drop the alpha channel for jpeg anymore as imsave handles that. In imsave, also clarify that `sm` is not going to be used in the already-usable-rgba case. Also, spliting out pil_kwargs under "other parameters" seems overkill for an effectively internal method (`savefig` is the user-facing API).

Коммит aeba9ac 18 октября 2021 г., 11:31:07 UTC
родители a9bba75 master