Skip to content

Commit 9e10fdd

Browse files
committed
Add Python lib nbformat for plotly in Juypter notebooks
1 parent 14656b5 commit 9e10fdd

3 files changed

Lines changed: 131 additions & 0 deletions

File tree

conda-environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dependencies:
88
- python=3.12.9
99
- _python_rc=1 # Needed on Mac since Python >= 3.12
1010
- ipykernel=7.2.0
11+
- nbformat=5.10.4 # For Jupyter notebook environments. Required for plotly to render plots in notebooks.
1112
- matplotlib=3.10.9
1213
- numpy=2.2.5
1314
- pandas=2.3.3

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ requires-python = ">=3.12,<3.14"
55
dependencies = [
66
# --- Jupyter (for notebook environments) ---
77
"ipykernel==7.2.0",
8+
"nbformat==5.10.4", # Required for plotly to render plots in notebooks.
9+
# --- Data manipulation and plotting ---
810
"matplotlib==3.10.9",
911
"numpy==2.2.5",
1012
"pandas==2.3.3",

0 commit comments

Comments
 (0)