Skip to content

fix: update allowed_types for DensityHeatmap and Histogram explorers - #684

Merged
cristian-tamblay merged 1 commit into
developfrom
fix/scope-explorers
Jun 5, 2026
Merged

fix: update allowed_types for DensityHeatmap and Histogram explorers#684
cristian-tamblay merged 1 commit into
developfrom
fix/scope-explorers

Conversation

@Felipedino

Copy link
Copy Markdown
Collaborator

This pull request updates the DensityHeatmapExplorer and HistogramPlotExplorer classes to specify which data types they support. The main change is the addition of Float, Integer, and Categorical to the allowed_types metadata for both explorers, improving type validation and documentation.

Type support improvements:

  • Added Float, Integer, and Categorical to the allowed_types metadata in DensityHeatmapExplorer, clarifying the types of data supported for density heatmaps. [1] [2]
  • Added Float, Integer, and Categorical to the allowed_types metadata in HistogramPlotExplorer, clarifying the types of data supported for histogram plots. [1] [2]

Copilot AI review requested due to automatic review settings June 5, 2026 13:28

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

This PR updates explorer metadata so the backend/frontend can correctly validate and document which semantic column types are supported by the DensityHeatmapExplorer and HistogramPlotExplorer.

Changes:

  • Added Float, Integer, and Categorical to DensityHeatmapExplorer.metadata["allowed_types"].
  • Added Float, Integer, and Categorical to HistogramPlotExplorer.metadata["allowed_types"].
  • Introduced the corresponding type imports in both explorer modules.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
DashAI/back/exploration/explorers/histogram_plot.py Adds semantic type imports and sets allowed_types to [Float, Integer, Categorical] for histogram explorer validation/metadata.
DashAI/back/exploration/explorers/density_heatmap.py Adds semantic type imports and sets allowed_types to [Float, Integer, Categorical] for density heatmap explorer validation/metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cristian-tamblay
cristian-tamblay merged commit 534bc6f into develop Jun 5, 2026
32 of 33 checks passed
@cristian-tamblay
cristian-tamblay deleted the fix/scope-explorers branch June 5, 2026 18:26
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.

3 participants