Skip to content

Commit 433dc77

Browse files
committed
Minor changes [skip ci]
1 parent 62b5fc2 commit 433dc77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

psyplot/plotter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def share(self, fmto, initializing=False, **kwargs):
632632
def _lock_children(self):
633633
"""acquire the locks of the children"""
634634
plotter = self.plotter
635-
for key in self.children:
635+
for key in self.children + self.dependencies:
636636
try:
637637
getattr(plotter, key).lock.acquire()
638638
except AttributeError:
@@ -641,7 +641,7 @@ def _lock_children(self):
641641
def _release_children(self):
642642
"""release the locks of the children"""
643643
plotter = self.plotter
644-
for key in self.children:
644+
for key in self.children + self.dependencies:
645645
try:
646646
getattr(plotter, key).lock.release()
647647
except AttributeError:

0 commit comments

Comments
 (0)