Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reversed y labels in dispersion_plot #3235

Open
kvmilos opened this issue Feb 28, 2024 · 1 comment
Open

Reversed y labels in dispersion_plot #3235

kvmilos opened this issue Feb 28, 2024 · 1 comment

Comments

@kvmilos
Copy link

kvmilos commented Feb 28, 2024

There still are some problems with the y labels in dispersion_plot.

When using it like this:

from nltk.book import text2

words = ["Elinor", "Marianne", "Edward", "Willoughby", "lol"]
text2.dispersion_plot(words)
plt.show()

the y labels are still reversed. I have no idea why.

@rmalouf
Copy link
Contributor

rmalouf commented Mar 5, 2024

The fix was in #3150 which has not yet made it into a release. Are the y labels still reversed in the latest development version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants