print_figure return base64 str instead of bytes...
print_figure return base64 str instead of bytes
sending bytes relies on serializer's `default` functionality,
where we can just send the right thing here
this used to be ambiguous on Python 2, but not anymore