Skip to content

Add legend_dict attribute to map#1263

Merged
giswqs merged 1 commit into
masterfrom
legend
Nov 15, 2025
Merged

Add legend_dict attribute to map#1263
giswqs merged 1 commit into
masterfrom
legend

Conversation

@giswqs

@giswqs giswqs commented Nov 15, 2025

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings November 15, 2025 04:03
@giswqs giswqs merged commit 15fe41b into master Nov 15, 2025
18 checks passed
@giswqs giswqs deleted the legend branch November 15, 2025 04:04

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 adds the ability to store the legend dictionary as an instance attribute (legend_dict) on the Map object when using the add_data() method. This allows users to access the classification legend information after adding data to the map.

  • Stores the legend dictionary returned from common.classify() as an instance attribute
  • Follows existing pattern in the codebase for storing data attributes using setattr()
  • Makes the legend information accessible for later programmatic access

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

@github-actions

Copy link
Copy Markdown

@github-actions github-actions Bot temporarily deployed to pull request November 15, 2025 04:09 Inactive
giswqs added a commit that referenced this pull request Dec 6, 2025
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