Skip to content

Commit

Permalink
Fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC committed Jul 3, 2024
1 parent a91ac2a commit 6f35718
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples/example_survival.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@
" bins=40,\n",
")[1]\n",
"\n",
"plt.hist(cate_estimates_tlearner, bins=bins, alpha=0.5, label=\"TLearner\")\n",
"plt.hist(cate_estimates_drlearner, bins=bins, alpha=0.5, label=\"DRLearner\")\n",
"plt.hist(cate_estimates_rlearner, bins=bins, alpha=0.5, label=\"RLearner\")\n",
"plt.hist(cate_estimates_tlearner, bins=list(bins), alpha=0.5, label=\"TLearner\")\n",
"plt.hist(cate_estimates_drlearner, bins=list(bins), alpha=0.5, label=\"DRLearner\")\n",
"plt.hist(cate_estimates_rlearner, bins=list(bins), alpha=0.5, label=\"RLearner\")\n",
"plt.legend()\n",
"plt.xlabel(\"CATE estimate (weeks)\")\n",
"plt.ylabel(\"Frequency\")\n",
Expand Down

0 comments on commit 6f35718

Please sign in to comment.