Skip to content

Commit beda62a

Browse files
authored
Update binder2 (#555)
* Update binder * Fix gha * Try using notebook
1 parent ff88c4a commit beda62a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.binder/environment.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: ipympl
22
channels:
33
- conda-forge
44
dependencies:
5-
- yarn
6-
- numpy
5+
- yarn~=3.0
76
- jupyterlab~=4.0
8-
- retrolab
9-
- matplotlib-base>=2.2.2
7+
- ipywidgets>=7.6
8+
- matplotlib
9+
- notebook>=7

.github/workflows/binder-on-pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
script: |
1616
var PR_HEAD_USERREPO = process.env.PR_HEAD_USERREPO;
1717
var PR_HEAD_REF = process.env.PR_HEAD_REF;
18-
github.issues.createComment({
18+
github.rest.issues.createComment({
1919
issue_number: context.issue.number,
2020
owner: context.repo.owner,
2121
repo: context.repo.repo,
22-
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${PR_HEAD_USERREPO}/${PR_HEAD_REF}?urlpath=retro/notebooks/docs/examples/full-example.ipynb) :point_left: Launch a binder notebook on branch _${PR_HEAD_USERREPO}/${PR_HEAD_REF}_`
22+
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${PR_HEAD_USERREPO}/${PR_HEAD_REF}?urlpath=notebooks/docs/examples/full-example.ipynb) :point_left: Launch a binder notebook on branch _${PR_HEAD_USERREPO}/${PR_HEAD_REF}_`
2323
})
2424
env:
2525
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Latest PyPI version](https://img.shields.io/pypi/v/ipympl?logo=pypi)](https://pypi.python.org/pypi/ipympl)
55
[![Latest conda-forge version](https://img.shields.io/conda/vn/conda-forge/ipympl?logo=conda-forge)](https://anaconda.org/conda-forge/ipympl)
66
[![Latest npm version](https://img.shields.io/npm/v/jupyter-matplotlib?logo=npm)](https://www.npmjs.com/package/jupyter-matplotlib)
7-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/matplotlib/ipympl/stable?urlpath=retro/notebooks/docs/examples/full-example.ipynb)
7+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/matplotlib/ipympl/main?urlpath=notebooks/docs/examples/full-example.ipynb)
88
[![Gitter](https://img.shields.io/badge/gitter-Join_chat-blue?logo=gitter)](https://gitter.im/jupyter-widgets/Lobby)
99

1010
Leveraging the Jupyter interactive widgets framework, `ipympl` enables the interactive features of matplotlib in the Jupyter notebook and in JupyterLab.

0 commit comments

Comments
 (0)