NoMethodError (undefined method `to_sym' for nil:NilClass)
But this error doesn't help the user understand that there is a missing y value.
There are other errors like these where missing or incorrect data leads into an exception.
Another Example:
If you don't provide a plot type at all you get "NameError (wrong constant name)". It may be more helpful to provide a list of valid plot types in this case.
As mentioned in #478 I find that some error messages could be improved to provide a better user experience.
For example:
Results in:
But this error doesn't help the user understand that there is a missing
y
value.There are other errors like these where missing or incorrect data leads into an exception.
Another Example:
If you don't provide a plot type at all you get
"NameError (wrong constant name)"
. It may be more helpful to provide a list of valid plot types in this case.