Fixes #155, #171, and #166

Adds the option to flip the axes directions (#155) and fixes the axes labels not changing when changing the axes (#171). It fixes the dollar sign in documentation (#166).