Skip to content

Enhancement/panel holoviews follow up#141

Merged
MarcSkovMadsen merged 3 commits into
mainfrom
enhancement/panel-holoviews-follow-up
Feb 7, 2026
Merged

Enhancement/panel holoviews follow up#141
MarcSkovMadsen merged 3 commits into
mainfrom
enhancement/panel-holoviews-follow-up

Conversation

@MarcSkovMadsen

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 7, 2026 12:41
@MarcSkovMadsen MarcSkovMadsen merged commit fd46514 into main Feb 7, 2026
10 of 16 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Panel + HoloViews “Linked Selections / Cross-Filtering” skill documentation to cover categorical bar charts while preserving HoloViews data lineage for link_selections.

Changes:

  • Added guidance + example for building categorical bar charts via a custom HoloViews Operation to preserve lineage for cross-filtering.
  • Expanded “DON’T” guidance with additional failure cases for categorical dimensions and auto-detected vdims.
  • Added ipywidgets_bokeh, pyarrow, shapely, and setuptools to the pydata optional dependency group.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/holoviz_mcp/config/resources/skills/panel-holoviews.md Documents a lineage-preserving approach for categorical bars under link_selections, plus expanded anti-patterns.
pyproject.toml Extends the pydata extra with dependencies relevant to the documented cross-filtering behavior.

Comment on lines +285 to +289
dimension = param.String(doc="Categorical dimension to count")

def _process(self, element, key=None):
vals = element.dimension_values(self.p.dimension, expanded=True)
unique, counts = np.unique(vals, return_counts=True)

Copilot AI Feb 7, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The category_count example isn’t copy/paste runnable as written: param, np, hv, and histogram are used in this code block but not imported in the block (and won’t be in scope if someone runs just this snippet). Add the missing imports (or explicitly state that it relies on imports from a previous snippet) so the example executes without NameError.

Copilot uses AI. Check for mistakes.
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.

2 participants