convert scientific notation to real number on ggplot python

344 views Asked by At

I'm tryin to make a plot with pythons ggplot but the x and y aaxes are showing up in scientific notation

this is my code:

ggplot(dfMerge, aes(x='rent_price',y='sale_price', color='outlier',label='name')) +\
geom_text(hjust=0, vjust=0, size=20) +\
geom_point() +\
scale_y_continuous(labels="%.2f") +\
xlab("Rent Unit Price") +\
ylab("Sale Unit Price") +\
stat_smooth(color='blue') 

Here's the plot i get: enter image description here

How can i change the exponetial values on the axes to real numbers?

Thank you.

0

There are 0 answers