mdboom/matplotlib — comment on commit 42c77be7c19567b1bc9e6f900b2e20527454622b
File:  line 0
By mdboom:

Ok on `codecs.EncodedFile`.

`print_svgz` continues to use the `io.TextIOWrapper` because `gzip` file objects support the `io` interface. We don't need to worry about the user passing in something that doesn't.