Skip to content

Fix linestyle aliases in overplot_points - #355

Open
rpinho wants to merge 1 commit into
dfm:mainfrom
rpinho:fix-overplot-alias
Open

rpinho wants to merge 1 commit into
dfm:mainfrom
rpinho:fix-overplot-alias

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026

Copy link
Copy Markdown

Passing ls to overplot_points raises a Matplotlib alias error because the function also supplies linestyle (issue #254). This happens when plotting posterior reference points with corner.overplot_points(fig, points, ls="--"). Set the linestyle default only when the caller supplies neither ls nor linestyle. Tests compare coordinates and styling with the linestyle spelling in both plot orientations and check defaults and alias conflicts.

Fixes #254.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

This branch has not been deployed

No deployments
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.

linestyle argument in overlpot_points

1 participant