You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fine but I want to slightly move the text higher so it is outside of the bar. Not sure how to accomplish this. I tried using nudge_y=0.5 (an argument in geom_text) with the following results.
The vertical position is ok but the horizontal position has completely changed. It is not respecting the position_dodge.
See bellow. If this is expected any hints on how to move the geom_text to be higher than the bar?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered:
Hi,
I'm just trying to understand whether the following behaviour is expected.
I'm using PyCharm-in windows 10, lets-plot 4.5.1
This code results in this:
![image](https://private-user-images.githubusercontent.com/22862243/387235626-f1ddf56b-240b-4953-bbc4-49a076b88f4f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDEwNzMsIm5iZiI6MTczOTI0MDc3MywicGF0aCI6Ii8yMjg2MjI0My8zODcyMzU2MjYtZjFkZGY1NmItMjQwYi00OTUzLWJiYzQtNDlhMDc2Yjg4ZjRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDAyMjYxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwNmMxZTBmZWUxYTBhMTZlNzUyMGQxNzQ2ODRlMjNkNDcwODVmNzA2NjBiNjJlZjY2MzdiZGRkYmY2MThmZDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5iGesmqqGw3I9g9-vVz1qjKyS12o4c8y9s1ATwHR71k)
This is fine but I want to slightly move the text higher so it is outside of the bar. Not sure how to accomplish this. I tried using nudge_y=0.5 (an argument in geom_text) with the following results.
The vertical position is ok but the horizontal position has completely changed. It is not respecting the position_dodge.
See bellow. If this is expected any hints on how to move the geom_text to be higher than the bar?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: