Skip to content

Commit

Permalink
better message when model plot type isn't currently supported
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Nov 18, 2024
1 parent f5fb928 commit 5642d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sageworks/web_components/model_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def update_properties(self, model: Model, inference_run: str) -> go.Figure:
elif model_type in ["regressor", "quantile_regressor"]:
return RegressionPlot().update_properties(model, inference_run)
else:
return self.display_text("Unknown Model Type")
return self.display_text(f"Model Type: {model_type}\n\n Awesome Plot Coming Soon!")


if __name__ == "__main__":
Expand Down

0 comments on commit 5642d83

Please sign in to comment.