fix the pyplot version of rc_context

Before this, when using the rc_context dangling from pyplot, one would
get an AttributeError for ``__exit__``, because plt.rc_context wasn't
actually returning anything before this change.
Merge pull request #1866 from ivanov/fix-rc_context

fix the pyplot version of rc_context