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
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?
The text was updated successfully, but these errors were encountered:
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.
The following code, taken from the documentation, does not work as intended:
While there are distinct inner and outer colors, both legends only show the values
Ergative
andAccusative
; thefeatures
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?The text was updated successfully, but these errors were encountered: