minor regression fixes to plotting

the interface for handling casts has changed slightly during the refactor to
make it more (?) general