And additionaly, the very sample code from esri doesn't work has it should be:
https://developers.arcgis.com/python/guide/visualizing-data-with-the-spatially-enabled-dataframe/
If you try m4 sample code, you will realise that this method doesn't work at all:
df.spatial.plot(map_widget=m4,
renderer_type='c', # for class breaks renderer
method='esriClassifyNaturalBreaks', # classification algorithm
class_count=20, # choose the number of classes
col='POPULATION', # numeric column to classify
cmap='prism', # color map to pick colors from for each class
alpha=0.7 # specify opacity
)
You can change to any method here (e.g., esriClassifyQuantile), and you will always get equal intervals breaks.
Now, the most strange thing is that to very sample code shows that there's no esriClassifyNaturalBreaks hapening there, has they show in the sample script, it is equal intervals....
7957.0 - 11659.315789473683
11659.315789473683 - 15361.631578947368
15361.631578947368 - 19063.947368421053
19063.947368421053 - 22766.263157894737
22766.263157894737 - 26468.57894736842
26468.57894736842 - 30170.894736842107
30170.894736842107 - 33873.21052631579
33873.21052631579 - 37575.52631578947
37575.52631578947 - 41277.84210526316
41277.84210526316 - 44980.15789473684
44980.15789473684 - 48682.47368421053
48682.47368421053 - 52384.78947368421
52384.78947368421 - 56087.10526315789
56087.10526315789 - 59789.42105263158
59789.42105263158 - 63491.73684210526
63491.73684210526 - 67194.05263157895
67194.05263157895 - 70896.36842105264
70896.36842105264 - 74598.68421052632
74598.68421052632 - 78301.0
78301.0 - 78301.0