From e5ec4ae81c8265b146429de6151d50d59135e005 Mon Sep 17 00:00:00 2001 From: ArslanSaleem Date: Tue, 12 Nov 2024 14:31:14 +0100 Subject: [PATCH] remove: extra lib handling --- pandasai/helpers/optional.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pandasai/helpers/optional.py b/pandasai/helpers/optional.py index 6b6bb5fa2..f1d7a830a 100644 --- a/pandasai/helpers/optional.py +++ b/pandasai/helpers/optional.py @@ -77,8 +77,6 @@ def get_environment(additional_deps: List[dict]) -> dict: env["pd"] = RestrictedPandas() env["plt"] = RestrictedMatplotlib() env["np"] = RestrictedNumpy() - if any(lib["name"] == "seaborn" for lib in additional_deps): - env["sns"] = RestrictedSeaborn() for lib in additional_deps: if lib["name"] == "seaborn":