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

Proper support for some non-numeric 'third data dimension' values in ScalingRelation #1297

Open
DavidT3 opened this issue Jan 21, 2025 · 0 comments

Comments

@DavidT3
Copy link
Owner

DavidT3 commented Jan 21, 2025

Currently it only properly supports numeric data, as the third data dimension property attempts to put the data in an astropy quantity, which will only work for numeric data.

Would probably be pretty great to let the points be coloured by string labels, or something like that. That way classes of object can be highlighted, and it would be more generalised than what is currently possible (you can pass True or False values, as they can be numeric).

The colorbar setup would have to get more sophisticated though, as would colorbar tick labels. Labelled points, rather than values which are on some continuous scale, would have to have a segmented colorbar set up instead

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