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.