Change `print ‘string’` to `print(‘string’)`
Decode byte-strings (more)

1. Plotly uses 2.7 on the backend so it will
return bytes! The json 3.x module expects native
string (unicode), so we need to convert this.

2. base64encode requires bytes, so give it bytes 
and convert after.
no more basestring! need to use six.string_types.
Python 2.6 needs numbers in ‘{}’, e.g., ‘{0}’
Tricky! Dict ordering / hash table! (more)

This test was actually dependent on what order
or what subset of the tests you were running!
Some more ‘{}’ -> ‘{0}’, etc.
Merge pull request #145 from plotly/python-version-fixes

Python version fixes
require explicit plotly json encoding by objects
`to_json` was actually used by pandas, and was called by our json encoder before the correct pandas series json encoder was called
add pandas to encoding tests
Merge branch 'master' of github.com:plotly/python-api into fix-pandas-serialization
version 1.4.4 (fix pandas encoding)
sort_keys
mv to single line
ordered keys for testing
Merge pull request #149 from plotly/fix-pandas-serialization

Fix pandas serialization
Merge branch 'master' into embed-width-height
bump version (fix embed dimensions)