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
运行如下代码时候报错:
import openalea.mtg as mtg
from oawidgets.plantgl import PlantGL
import openalea.strawberry as strawberry
g = strawberry.import_mtgfile.import_mtgfile(filename= ["Capriss"])
g.properties()['order'] = mtg.algo.orders(g)
scene=straberry.visu3d.plot3d(g,by=["Sample_date"],hide_leaves=False,display=False)
PlantGL(scene, group_by_color=True)
The text was updated successfully, but these errors were encountered:
longwangtang
changed the title
Win 10+anaconda python3.9.16,import openalea.mtg as mtg from oawidgets.plantgl import PlantGL import openalea.strawberry as strawberry g = strawberry.import_mtgfile.import_mtgfile(filename= ["Capriss"]) g.properties()['order'] = mtg.algo.orders(g) scene=straberry.visu3d.plot3d(g,by=["Sample_date"],hide_leaves=False,display=False) PlantGL(scene, group_by_color=True)
Win 10+anaconda python3.9.16,AttributeError: module 'openalea.strawberry' has no attribute 'import_mtgfile'
Jun 11, 2023
运行如下代码时候报错:
import openalea.mtg as mtg
from oawidgets.plantgl import PlantGL
import openalea.strawberry as strawberry
g = strawberry.import_mtgfile.import_mtgfile(filename= ["Capriss"])
g.properties()['order'] = mtg.algo.orders(g)
scene=straberry.visu3d.plot3d(g,by=["Sample_date"],hide_leaves=False,display=False)
PlantGL(scene, group_by_color=True)
The text was updated successfully, but these errors were encountered: