Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for deprecated annotation.ref attribute (use annotation.xref and annotation.yref instead) #7215

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

emilykl
Copy link
Contributor

@emilykl emilykl commented Oct 7, 2024

Closes #7191

  • Drop support for deprecated annotation.ref attribute (use annotation.xref and annotation.yref instead)

@emilykl emilykl requested review from archmoj and gvwilson October 7, 2024 23:16
@@ -214,7 +214,8 @@
"xatype": "category",
"yatype": "linear",
"tag": "",
"ref": "paper"
"xref": "paper",
"yref": "paper"
Copy link
Contributor

Choose a reason for hiding this comment

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

just for my own learning, why has the "ref" property become "xref" and "yref"?

Copy link
Collaborator

@alexcjohnson alexcjohnson Oct 8, 2024

Choose a reason for hiding this comment

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

So that you can place an annotation at a fixed horizontal position (xref=“paper”) and data-referenced vertical position (yref=“y”) for example. With a single ref things like that are not possible.

@gvwilson gvwilson added feature something new P1 needed for current cycle labels Oct 8, 2024
Copy link
Contributor

@archmoj archmoj left a comment

Choose a reason for hiding this comment

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

💃

@emilykl emilykl merged commit 7194259 into master Oct 8, 2024
1 check passed
@emilykl emilykl deleted the drop-annotations-ref branch October 8, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P1 needed for current cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drop deprecated annotations ref in v3
4 participants