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

stroke_features delete normal features #6

Open
fmatter opened this issue Feb 19, 2021 · 2 comments
Open

stroke_features delete normal features #6

fmatter opened this issue Feb 19, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@fmatter
Copy link

fmatter commented Feb 19, 2021

The following code, taken from the documentation, does not work as intended:

import lingtypology
languages = ["Adyghe", "Kabardian", "Polish", "Russian", "Bulgarian"]
features = ["Agglutinative", "Agglutinative", "Inflected", "Inflected", "Analytic"]
stroke_features = ['Ergative', 'Ergative', 'Accusative', 'Accusative', 'Accusative']
m = lingtypology.LingMap(languages)
m.add_features(features)
m.add_stroke_features(stroke_features)
m.create_map()

While there are distinct inner and outer colors, both legends only show the values Ergative and Accusative; the features list is ignored and only appears when no stroke_features are added. Downgrading to earlier versions did not fix this; I wonder why it appears to work in the documentation?

@anna-alexandrova
Copy link

The following code, taken from the documentation, does not work as intended:

import lingtypology
languages = ["Adyghe", "Kabardian", "Polish", "Russian", "Bulgarian"]
features = ["Agglutinative", "Agglutinative", "Inflected", "Inflected", "Analytic"]
stroke_features = ['Ergative', 'Ergative', 'Accusative', 'Accusative', 'Accusative']
m = lingtypology.LingMap(languages)
m.add_features(features)
m.add_stroke_features(stroke_features)
m.create_map()

While there are distinct inner and outer colors, both legends only show the values Ergative and Accusative; the features list is ignored and only appears when no stroke_features are added. Downgrading to earlier versions did not fix this; I wonder why it appears to work in the documentation?

I confirm that I have the same problem. :( I hope so much that the author of the library kindly solves the issue. I wouldn't like to have to abbandon this library.

@OneAdder
Copy link
Owner

Hello, I have been informed, that Lingtypology is still used by many. So, decided to do some maintenance. I will solve the problem

@OneAdder OneAdder self-assigned this Aug 30, 2024
@OneAdder OneAdder added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants