Open stragu opened 3 years ago
I think the better change would be to have the grid light gray and the data be the darker element.
@roya0045 that makes perfect sense, you're right. What about the frame?
Just for some inspiration, here are examples of different themes from the R package ggplot2.
Default theme:
Black and white theme:
Minimal theme:
And Base R histogram:
I guess for QGIS, the importance of the frame is tied to the ability to zoom into the plot (something like the "black and white" theme could do the trick), but I think doing away with that shadow would be an improvement in any case.
Still valid on QGIS 3.22.3. (Windows 10)
Describe the bug
The shadow around the raster histogram plot area (giving it a depressed look) might make reading the plot difficult. The colour is similar (if not the same) as the actual data when the symbology is "singleband gray", and it makes it look like there is a peak at the beginning of the x axis range with particular histograms. See for example this histogram of values for a raster layer of watershed basins:
In my opinion, this shading is unnecessary, and QGIS users would benefit from having no decoration at all to make the plot as readable as possible. If a frame is considered necessary to show where data is clipped when zooming in, it could at least have an unambiguous colour that is sufficiently distinct to the data's usual red and grey colours.
How to Reproduce
QGIS and OS versions
and
Additional context
Tested with "Fusion" and "Windows" styles.