Skip to content

Commit

Permalink
update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
oegedijk committed Jan 7, 2021
1 parent 5e1bfed commit 3096d34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
12 changes: 6 additions & 6 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
### New Features
- Added NavBar to `ExplainerHub`
- Made `users.yaml` to default file for storing users and hashed passwords
for `ExplainerHub` for easier editing.
for `ExplainerHub` for easier manual editing.
- Added option `min_height` to `ExplainerHub` to set the size of the iFrame
containing the dashboard.
- Added option `fluid=True` to `ExplainerHub` to stretch bootstrap container
Expand All @@ -24,7 +24,7 @@
is required for dashboards for which there wasn't a specific lists
of users declared through `db_users`. So only dashboards for which users
have been defined are password protected.
- Added option `no_index` to `ExplainerHub`: doesnt generate a flask route
- Added option `no_index` to `ExplainerHub` so that no flask route is created
for index `"/"`, so that you can add your own custom index. The dashboards
are still loaded on their respective routes, so you can link to them
or embed them in iframes, etc.
Expand All @@ -33,15 +33,15 @@

### Bug Fixes
- `ExplainerHub.from_config()` now works with non-cwd paths
-
- `ExplainerHub.to_yaml("subdirectory/hub.yaml")` now correctly stores
the users.yaml file in the correct subdirectory when specified.

### Improvements
- added a "powered by: explainerdashboard" footer. Hide it with hide_poweredby=True.
- added option "None" to shap dependence color col. Also removes the point cloud
from the violin plots for categorical features.
- added option `mode` to `ExplainerDashboard.run()` that can override self.mode.
- `users.yaml` now gets copied to the correct directory when you store with
for example `hub.to_yaml("subdirectory/hub/hub.yaml")`
- added option `mode` to `ExplainerDashboard.run()` that can override `self.mode`.


### Other Changes
-
Expand Down
9 changes: 3 additions & 6 deletions explainerdashboard/dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -1332,12 +1332,9 @@ def _dump_all_users_to_file(self, output_users_file:Path=None):
users_db = ExplainerHub._load_users_db(self.users_file)
users_db['users'].update(self.logins)
for db, instance_users in self.db_users.items():
file_users = users_db['dashboard_users'].get(dashboard)
if file_users is None:
dashboard_users = sorted(instance_users)
else:
dashboard_users = sorted(list(set(file_users + instance_users)))
users_db['dashboard_users'][dashboard] = dashboard_users
file_users = users_db['dashboard_users'].get(db) or []
dashboard_users = sorted(list(set(file_users + instance_users)))
users_db['dashboard_users'][db] = dashboard_users

if output_users_file is None:
output_users_file = self.users_file
Expand Down

0 comments on commit 3096d34

Please sign in to comment.