Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bugfix: Deduplicate spanning axes in SubplotGrid slicing#598

Merged
cvanelteren merged 3 commits into
mainUltraplot/UltraPlot:mainfrom
fix/spanning-slice-legend-dupUltraplot/UltraPlot:fix/spanning-slice-legend-dupCopy head branch name to clipboard
Feb 26, 2026
Merged

Bugfix: Deduplicate spanning axes in SubplotGrid slicing#598
cvanelteren merged 3 commits into
mainUltraplot/UltraPlot:mainfrom
fix/spanning-slice-legend-dupUltraplot/UltraPlot:fix/spanning-slice-legend-dupCopy head branch name to clipboard

Conversation

@cvanelteren

Copy link
Copy Markdown
Collaborator

Closes #597

Dedups the indexing from gridspec to prevent calling legend multiple times.

@cvanelteren

This comment was marked as resolved.

@cvanelteren cvanelteren enabled auto-merge (squash) February 26, 2026 04:02
@cvanelteren cvanelteren merged commit d479c71 into main Feb 26, 2026
15 checks passed
@cvanelteren cvanelteren deleted the fix/spanning-slice-legend-dup branch February 26, 2026 04:03
K-Mirembe-Mercy pushed a commit to K-Mirembe-Mercy/UltraPlot that referenced this pull request Mar 22, 2026
Fixes an issue where slicing could cause artists to duplicate on legends.
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.

Duplicate legend entries when plotting on sliced spanned axes with legend=True

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.