Skip to content

Conversation

@maximlt
Copy link
Member

@maximlt maximlt commented Mar 17, 2025

Closes #1508

This PR refactors code that was recently added to build the plotting options Sphinx directive, and re-uses it to implement tests that help ensure the converter options (HoloViewsConverter._options_groups) are documented in a docstring, and that there are no docstring parameters not defined in one of the options groups.

Additionally, it adds x and y to the kind options. x was always there (i.e. the signature of all the plotting methods was patched with x included) while not all plotting methods accept x like hist().

@maximlt maximlt merged commit 13c8293 into main Mar 17, 2025
11 checks passed
@maximlt maximlt deleted the test_converter_doc_options branch March 17, 2025 19:20
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.

Write tests that check that the keywords are listed and documented

2 participants