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

Fix order of words in y-axis of dispersion_plot #3150

Merged
merged 2 commits into from
May 8, 2023

Conversation

chbrandt
Copy link
Contributor

@chbrandt chbrandt commented May 4, 2023

Input words are reversed to create 'y' ticks but the internal 'words' list is not updated accordingly.
This has been fixed by getting 'words' back from 'word2y', which is sensitive to 'ignore_case'.
If 'words' should not be sensitive to 'ignore_case', then the following should be used instead:

# do not modify input 'words' list (as used to be the case with .reverse())
words = words[::-1]

Fix order of words in y-axis of dispersion_plot
Reverse input words list
@chbrandt
Copy link
Contributor Author

chbrandt commented May 5, 2023

The two failures are in nltk downloading datasets, maybe some network connection issue?

@tomaarsen
Copy link
Member

Looks good! Thanks for this. And I must say that I don't quite know why those two test runs are failing, but I agree that they must be unrelated.

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

Successfully merging this pull request may close these issues.

None yet

2 participants