Skip to content

Commit

Permalink
compat: Scipy 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Jan 5, 2025
1 parent cd2ca49 commit 8da5976
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/gallery/demos/bokeh/histogram_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"\n",
"x = np.linspace(0, 1, 1000)\n",
"pdf = x**(alpha-1) * (1-x)**(beta-1) / scipy.special.beta(alpha, beta)\n",
"cdf = scipy.special.btdtr(alpha, beta, x)\n",
"cdf = scipy.special.betainc(alpha, beta, x)\n",
"beta = get_overlay(hist, x, pdf, cdf, label)\n",
"\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/demos/matplotlib/histogram_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"\n",
"x = np.linspace(0, 1, 1000)\n",
"pdf = x**(alpha-1) * (1-x)**(beta-1) / scipy.special.beta(alpha, beta)\n",
"cdf = scipy.special.btdtr(alpha, beta, x)\n",
"cdf = scipy.special.betainc(alpha, beta, x)\n",
"beta = get_overlay(hist, x, pdf, cdf, label)\n",
"\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/user_guide/11-Transforming_Elements.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@
"source": [
"hv.output(backend='matplotlib', size=200)\n",
"\n",
"from scipy.misc import ascent\n",
"from scipy.datasets import ascent\n",
"\n",
"stairs_image = hv.Image(ascent()[200:500, :], bounds=[0, 0, ascent().shape[1], 300], label=\"stairs\")\n",
"stairs_image"
Expand Down

0 comments on commit 8da5976

Please sign in to comment.