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

Plot several MTG with plot function #12

Open
mlabadie opened this issue Dec 6, 2019 · 0 comments
Open

Plot several MTG with plot function #12

mlabadie opened this issue Dec 6, 2019 · 0 comments

Comments

@mlabadie
Copy link

mlabadie commented Dec 6, 2019

Error when you want to send back when the mtg file contains several plants in notebook

Gariguette = import_mtgfile(filename= ["Gariguette"])
plot(Gariguette)

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-15-7b53d8f1cc75> in <module>()
      1 Gariguette = import_mtgfile(filename= ["Gariguette"])
      2 Capriss = import_mtgfile(filename= ["Capriss"])
----> 3 plot(Gariguette)

c:\users\mlabadie\documents\github\oawidgets\src\oawidgets\mtg.pyc in plot(g, properties, selection, hlayout, scale, labels, **kwds)
     82         else:
     83             label_node = labels[vid]
---> 84         level = levels[vid]
     85         if selection is None:
     86             color = groups[g.complex(vid)]

KeyError: 75

conda list --explicit > conda_env.txt

conda_env.txt

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

1 participant