Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13921

Add the value of value_counts on each point of a scatter plot

$
0
0

I'm looking for adding the value of pollution['Energie'].value_counts() to each corresponding point on a scatterplot, but it doesn't work, can you help me please?the dataset is about pollution emission of vehicules, with Nox emission on y-axis and Global Power Warming on x-axis and i'd like to add the nomber of each class of energie on the plot.Thx for the help.

pollution plot

I already try to enumerate trough 'energie_counts', but It displays the value below the plot and this drastically reduces the size of the plot.


Viewing all articles
Browse latest Browse all 13921

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>