Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[GUI] Raster histogram: restore behavior before #35465 changes
Commits 98261bc and ebdb546 for #35465 have changed the logic to compute the default number of bins for the histogram. While appropriate in the context of #35465, that tends to augment the number of bins, which is inappropriate for the raster histogram chart, where beyond 1000, the chart becomes unreadable. However I think the logic for plotting the raster histogram should probably be revised, but I'm not clear how: ask the user for a number of bins and/or take into account the width in pixels of the chart to determine the number of bins (should that depend if the user has zoomed in... ?)
- Loading branch information
Showing
1 changed file
with
56 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters