plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

Ayref validator does not support "paper" (PR attached)

Open arieleiz opened this issue 2 years ago • 1 comments

The plotly documentation specifies that ayref can accept the paper value, as seen in https://plotly.com/python/reference/layout/annotations/#layout-annotations-items-annotation-ayref.

however the validator does not accept this value. This is a tiny fix that adds "paper" to the validator options:

https://github.com/plotly/plotly.py/pull/4460

arieleiz avatar Dec 15 '23 14:12 arieleiz

Thanks @arieleiz - this is certainly a bug, but the fix goes in plotly.js, the validator you identified here is the result of codegen from the underlying plotly.js code. I'll transfer the issue and close the PR here.

alexcjohnson avatar Jan 11 '24 21:01 alexcjohnson