I have DataFrame (dfcell) as showed in a sample bellow:
This DataFrame has 104 rows and I need to show in Scatter Plot.
The columns location_cell_lng and location_cell_lat are Cartesian axis and class_m is the target.
I did that
plt.scatter(dfcell['location_cell_lng'], dfcell['location_cell_lat'], c=dfcell['class_m'])
I don't get to put legend to the column class_m that has a range of 0 to 5.
I tried the code in the link bellow, but without success https://matplotlib.org/gallery/lines_bars_and_markers/scatter_with_legend.html#sphx-glr-gallery-lines-bars-and-markers-scatter-with-legend-py
How can I to do this?
