Skip to content

Commit

Permalink
rephrased max_idxs dash version warning
Browse files Browse the repository at this point in the history
  • Loading branch information
oegedijk committed Feb 18, 2023
1 parent 15215c7 commit 07a0518
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions explainerdashboard/dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,8 @@ def __init__(self,
from pkg_resources import parse_version
if parse_version(dash.__version__) > parse_version('2.6.2'):
print(
f"WARNING: the number of rows in explainer(={len(self.explainer)}) is bigger "
f"than the threshold for dynamic server side dropdown search(={dynamic_dropdown_threshold}). "
f"However with your installed version of dash({dash.__version__}) this may not work smoothly. "
f"WARNING: the number of idxs (={len(self.explainer)}) > max_idxs_in_dropdown(={dynamic_dropdown_threshold}). "
f"However with your installed version of dash({dash.__version__}) dropdown search may not work smoothly. "
f"You can downgrade to `pip install dash==2.6.2` which should work better for now..."
)

Expand Down

0 comments on commit 07a0518

Please sign in to comment.