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

Allow additional arguments to set_axislabel through coord_params dict in ArrayAnimatorWCS #25

Open
wtbarnes opened this issue Jul 24, 2023 · 0 comments

Comments

@wtbarnes
Copy link
Member

Describe the feature

The set_axislabel method on a WCSAxes axis allows for passing in not just the label of the axis but also additional arguments such as the color of that label. However, the coord_params interface to set_axislabel only allows for passing the label and no other arguments

coord.set_axislabel(axislabel)

Proposed solution

Allow the axislabel entry in the coord_params dict to optionally be a dict and unpack it if it is. In this case, one of the entries of that dict would also have to be the axislabel.

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

No branches or pull requests

1 participant