-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Erroneous gaps in the histogram when column type is integer #21652
Comments
Author Name: Johannes Kroeger (Johannes Kroeger)
|
Author Name: Nyall Dawson (@nyalldawson) Can you share your data? Just a CSV with the values from the column used is enough
|
Author Name: Johannes Kroeger (Johannes Kroeger) Open the Shapefile from http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries.zip Choose a graduated style and classify by "name_len". Switch to Histogram tab and play around. |
Author Name: Nyall Dawson (@nyalldawson)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) End of life notice: QGIS 2.18 LTR Source:
|
This is still the case in 3.8, please re-open. |
Ha, that makes a lot of sense. Thank you so much! Sadly I do not remember what dataset I used for the other example. Your explanation matches what we see for |
@kannes closing? |
Let me generate some synthetic data and test first. |
Yes, any gaps I see even with float data can be explained logically.
So yes, there is no issue. It was a PEBKAC on my side. The other example data must have had some funny characteristics with those regular gaps (or some code was fixed in the meantime). Thank you @pjshelton for looking into this! @gioman, please close :) |
Author Name: Johannes Kroeger (Johannes Kroeger)
Original Redmine Issue: 13614
Affected QGIS version: master
Redmine category:symbology
I noticed erroneous gaps in the histogram in many cases.
Attached are examples from Natural Earth's countries name_len.
Also a comparison between a histogram in R and the same in QGIS (both using the same number of bins I believe, I used Freedman-Diaconis in R, I think QGIS uses that too).
I am on ae1250b on Archlinux, not totally up to date with master.
The text was updated successfully, but these errors were encountered: