mne-tools/mne-python — pull request #789 by dengemann (2013-10-02 12:58:34+00:00)
Title: ENH: replace pandas hack, add support for old matplotlib and current pandas master

The recent pandas master implements Indexers as subclasses of frozensets -- as a consequence the brutal type casting would fail. I replaced it by a an obviously better variant but kept it since we don'y want to get into the FloatIndexers recently added in Pandas.
For older Pandas/Matplotlib combinations the example would fail. Added a fix.