We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff91507 commit b554c3cCopy full SHA for b554c3c
LoopStructural/visualisation/lavavu.py
@@ -1,3 +1,4 @@
1
+from pyrsistent import v
2
from .model_plotter import BaseModelPlotter
3
from LoopStructural.utils import getLogger
4
from LoopStructural.utils import LoopImportError
@@ -409,6 +410,12 @@ def camera(self):
409
410
411
@camera.setter
412
def camera(self, camera):
413
+ # for some reason lavavu complains if the keys
414
+ # attributes aren't already in the dict, so add them and then
415
+ # call camera
416
+ for key, value in camera.items():
417
+ self.lv[key] = value
418
+
419
self.lv.camera(camera)
420
421
@property
0 commit comments