(self, filename_or_obj, *, metadata=None, pil_kwargs=None)
| 550 | self._print_pil(filename_or_obj, "gif", pil_kwargs, metadata) |
| 551 | |
| 552 | def print_jpg(self, filename_or_obj, *, metadata=None, pil_kwargs=None): |
| 553 | # savefig() has already applied savefig.facecolor; we now set it to |
| 554 | # white to make imsave() blend semi-transparent figures against an |
| 555 | # assumed white background. |
| 556 | with mpl.rc_context({"savefig.facecolor": "white"}): |
| 557 | self._print_pil(filename_or_obj, "jpeg", pil_kwargs, metadata) |
| 558 | |
| 559 | print_jpeg = print_jpg |
| 560 |
nothing calls this directly
no test coverage detected