Skip to content

Feature/better data in docs + dependabot#1

Merged
FBumann merged 8 commits intomainfrom
feature/better-data-in-docs
Jan 9, 2026
Merged

Feature/better data in docs + dependabot#1
FBumann merged 8 commits intomainfrom
feature/better-data-in-docs

Conversation

@FBumann
Copy link
Owner

@FBumann FBumann commented Jan 9, 2026

Use plotly express data in notebooks

Summary by CodeRabbit

  • Documentation

    • Updated example notebooks (getting-started, advanced, plot-types) with real-world datasets and Plotly Express-focused workflows for improved clarity
  • Chores

    • Configured Dependabot for automated dependency updates with weekly checks
    • Pinned development and documentation dependencies to specific versions

✏️ Tip: You can customize this high-level summary in your review settings.

…l datasets. Here's a summary:

  Dependencies added to pyproject.toml docs group:
  - pooch>=1.0 (downloads tutorial datasets)
  - netcdf4>=1.6 (reads NetCDF files)

  Datasets now used:
  ┌─────────────────┬───────────────────────────────────────────────────────┬────────────────────────────────────┐
  │     Dataset     │                      Dimensions                       │              Use Case              │
  ├─────────────────┼───────────────────────────────────────────────────────┼────────────────────────────────────┤
  │ air_temperature │ time (2920), lat (25), lon (53)                       │ Time series, heatmaps, climatology │
  ├─────────────────┼───────────────────────────────────────────────────────┼────────────────────────────────────┤
  │ eraint_uvz      │ month (2), level (3), latitude (241), longitude (480) │ 4D data, pressure levels, faceting │
  └─────────────────┴───────────────────────────────────────────────────────┴────────────────────────────────────┘
  Key improvements:
  - getting-started.ipynb: Uses NCEP air temperature for basic intro
  - plot-types.ipynb: Demonstrates all plot types with both datasets, including 4D faceting and animations through pressure levels
  - advanced.ipynb: Shows xarray operations (rolling, groupby, resample) with real climate data, plus Hovmoller diagrams and temperature anomalies

  The notebooks now show meaningful patterns (seasonal cycles, jet streams, temperature gradients) instead of random noise.
Allow automerge of dependabot
@coderabbitai
Copy link

coderabbitai bot commented Jan 9, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR introduces automated dependency management via Dependabot configuration, updates example notebooks to emphasize Plotly Express workflows with stock data, and pins optional dependency versions to exact specifications in the project manifest.

Changes

Cohort / File(s) Summary
GitHub Automation Configuration
\.github/dependabot.yml, \.github/workflows/dependabot-auto-merge.yml
Added Dependabot config with weekly update cadence for pip (dev and docs groups) and GitHub Actions; added workflow to auto-merge minor/patch semver updates via squash merge strategy.
Example Notebooks
docs/examples/advanced.ipynb, docs/examples/plot-types.ipynb, docs/getting-started.ipynb
Replaced synthetic/xarray-centric example data with Plotly Express data pipelines (stocks, gapminder); refocused workflow narrative from complex multi-dimensional data manipulation to Plotly Express-first plotting with Graph Objects enhancements; updated plots, coordinate constructions, and customization patterns.
Dependency Management
pyproject.toml
Pinned all optional dependency versions from flexible ranges to exact versions in dev-dependencies (pytest, mypy, ruff, pre-commit, nbstripout) and docs-dependencies (mkdocs*, pooch, netcdf4, jupyter).

Poem

🐰 With Dependabot's watchful eye so keen,
We hop through notebooks, fresh and clean!
Stock prices dance in Plotly's light,
While pinned versions keep all tight.
A stronger warren, well-maintained and bright! 🌿✨

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes


📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 23ce8ff and ba840e2.

📒 Files selected for processing (6)
  • .github/dependabot.yml
  • .github/workflows/dependabot-auto-merge.yml
  • docs/examples/advanced.ipynb
  • docs/examples/plot-types.ipynb
  • docs/getting-started.ipynb
  • pyproject.toml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@FBumann FBumann changed the title Feature/better data in docs Feature/better data in docs + dependabot Jan 9, 2026
@FBumann FBumann merged commit ed1b3f3 into main Jan 9, 2026
5 checks passed
@FBumann FBumann deleted the feature/better-data-in-docs branch January 9, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant