Skip to content

Commit

Permalink
Remove explicit vmax in table bar highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
BorysekOndrej committed May 20, 2022
1 parent 06d899e commit 164688d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ naskoc_build/*.html
docker_build/*.html

.env
*.secret

!**/.gitkeep
!**/index.html
3 changes: 2 additions & 1 deletion notebooks/tasks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@
" cmap=sns.light_palette(\"orange\", as_cmap=True)\n",
" )\n",
"\n",
" s.bar(subset=['All Evaluations'], color='#5fd65f', vmin=0, vmax=max_evals_count)\n",
" s.bar(subset=['All Evaluations'], color='#5fd65f', vmin=0)\n",
" # , vmax=max_evals_count) # this caused problems in Python 3.9\n",
" \n",
" s.format({\n",
" 'Successful/All ratio': '{:,.1%}'.format,\n",
Expand Down

0 comments on commit 164688d

Please sign in to comment.