##// END OF EJS Templates
Fixing display publisher (Python 3)
Henry Fredrick Schreiner -
Show More
@@ -114,11 +114,11 b' class CapturingDisplayPublisher(DisplayPublisher):'
114 114 """A DisplayPublisher that stores"""
115 115 outputs = List()
116 116
117 def publish(self, data, metadata=None, source=None):
117 def publish(self, data, metadata=None, source=None, *, transient=None, update=False):
118 118 self.outputs.append((data, metadata))
119
119
120 120 def clear_output(self, wait=False):
121 121 super(CapturingDisplayPublisher, self).clear_output(wait)
122
122
123 123 # empty the list, *do not* reassign a new list
124 124 del self.outputs[:]
General Comments 0
You need to be logged in to leave comments. Login now