Open patrickleonardy opened 11 months ago
Bug: The plot_incidence function does not support the inplace argument anymore for the reorder_categories function.
plot_incidence
reorder_categories
This error is linked to a deprecated keyword. and an easily be fixed
When running the "tutorial_Cobra_linear_regression" notebook this error occurs
I was expecting that the reordering runs as expected.
TypeError: Categorical.reorder_categories() got an unexpected keyword argument 'inplace'
![image](https://github.com/PythonPredictions/cobra/assets/116005033/9b0b0cac-16d1-4b9f-89ef-8df63ec06e03)
Bug Report
Bug: The
plot_incidence
function does not support the inplace argument anymore for thereorder_categories
function.Description
This error is linked to a deprecated keyword. and an easily be fixed
Steps to Reproduce
When running the "tutorial_Cobra_linear_regression" notebook this error occurs
Expected Result
I was expecting that the reordering runs as expected.
Actual Results
TypeError: Categorical.reorder_categories() got an unexpected keyword argument 'inplace'
Screenshot bug
![image](https://github.com/PythonPredictions/cobra/assets/116005033/9b0b0cac-16d1-4b9f-89ef-8df63ec06e03)