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

Heatmap labels only work for small data sets #384

Open
1 task
liamnwhite1 opened this issue Dec 27, 2023 · 0 comments
Open
1 task

Heatmap labels only work for small data sets #384

liamnwhite1 opened this issue Dec 27, 2023 · 0 comments

Comments

@liamnwhite1
Copy link

Feature category

  • enhancement - plot categories

The problem
When using a heatmap to plot a data set, the data labels will only be plotted if the data has less than 20 values horizontally and less than 30 values vertically. This is due to hard-coded limits contained within the should_plot_labels() function of the matrix class.

The solution I'd like
I think it would be beneficial to remove these hard-coded limits to allow for the labeling of larger data sets in heatmap plots. In order for this to work properly, the font size of the labels would need to scale down accordingly for larger data sets. This can be handled automatically or manually by the user. Additionally, I think it would be beneficial for the user to be able to set the precision of the data labels. Currently, the precision is hard-coded with a value of 5 in the matrix_data_string() function of the matrix class.

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