-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingtime_seriesTopics related to the time seriesTopics related to the time series
Milestone
Description
I noticed a new bug in the plot_model
function of pycaret.time_series
:
from pycaret.datasets import get_data
data = get_data('airline')
from pycaret.time_series import *
s = setup(data, fold = 5, fh = 12, session_id = 123)
plot_model('abc')
Notice that no matter what if no estimator is passed the ts
plot is generated by default which is expected behavior. The problem is it is not stopping users to pass whatever is in the plot name (for example I passed abc
).
Expected Behavior: Exception must be triggered if the plot name is not in the list of allowed plots, irrespective of the estimator is passed or not.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtime_seriesTopics related to the time seriesTopics related to the time series