The logic for selecting the model columns could duplicate them, this makes sure each column is checked only once. Also raises an informative error if matplotlib isn't installed and the user tries to import the plotting module, given that matplotlib isn't listed as a requirement.
The logic for selecting the model columns could duplicate them, this makes sure each column is checked only once. Also raises an informative error if matplotlib isn't installed and the user tries to import the plotting module, given that matplotlib isn't listed as a requirement.