File tree Expand file tree Collapse file tree 3 files changed +84
-461
lines changed
Expand file tree Collapse file tree 3 files changed +84
-461
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def volume(self):
133133 return self .dim .l * self .dim .w * self .dim .h
134134
135135 def __repr__ (self ):
136- return f" ULD { self .id } \t { self .dim } \t { self .weight } /{ self .weight_limit } \t { "Prioritised" if self .has_priority else "Not prioritised" } \t No. of packages: { len (self .packages )} "
136+ return f' ULD { self .id } \t { self .dim } \t { self .weight } /{ self .weight_limit } \t { "Prioritised" if self .has_priority else "Not prioritised" } \t No. of packages: { len (self .packages )} '
137137
138138 def summary (self ):
139139 return (
Original file line number Diff line number Diff line change 33import matplotlib .pyplot as plt
44from matplotlib .animation import FuncAnimation
55from mpl_toolkits .mplot3d .art3d import Poly3DCollection
6+ import matplotlib
7+ matplotlib .use ("TkAgg" )
68
79from entity import ULD , Package , Point
810
You can’t perform that action at this time.
0 commit comments