ARM-software / trappy

This repository has moved to https://gitlab.arm.com/tooling/trappy
Apache License 2.0
60 stars 39 forks source link

plotter: show appropriate error when plotting a dataframe but column was not specified #202

Closed JaviMerino closed 8 years ago

JaviMerino commented 8 years ago

When you try to plot a dataframe without specifying the column, the code that checks it fails with

KeyError: "column"

Fix the check so that the appropriate error (ValueError: Column not specified for DataFrame input) is printed.