DOC: replace ValueError with TypeError (closes
" \n",
" def regression_plot(self, func=linear_regression):\n",
" if not isinstance(self.data, pd.DataFrame):\n",
- " raise ValueError(\"regress() requires data to be specified as pandas DataFrame\")\n",
+ " raise TypeError(\"regress() requires data to be specified as pandas DataFrame\")\n",
"\n",
" points = self.mark_point()\n",
" \n",
