Skip to content

Commit

Permalink
Merge pull request #83 from IMMM-SFA/hotfix/cmap
Browse files Browse the repository at this point in the history
fix cmap
  • Loading branch information
erexer authored Jul 9, 2024
2 parents cfccb91 + f604913 commit 81a3323
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/basin_users_logistic_regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
" dot_cmap = mpl.colors.ListedColormap(np.array([[227,26,28],[166,206,227]])/255.0)\n",
" \n",
" # define color map for probability contours\n",
" contour_cmap = mpl.cm.get_cmap('RdBu')\n",
" contour_cmap = mpl.colormaps.get_cmap('RdBu')\n",
" \n",
" # define probability contours\n",
" contour_levels = np.arange(0.0, 1.05,0.1)\n",
Expand Down

0 comments on commit 81a3323

Please sign in to comment.