panel/param.py
changed.
Showing 1 of 1 files from the diff.
@@ -218,7 +218,9 @@
Loading
218 | 218 | if isinstance(event.new, param.parameterized.Parameters): |
|
219 | 219 | self.object = event.new.cls if event.new.self is None else event.new.self |
|
220 | 220 | return |
|
221 | - | if event.new is None: |
|
221 | + | if self.parameters: |
|
222 | + | parameters = self.parameters |
|
223 | + | elif event.new is None: |
|
222 | 224 | parameters = [] |
|
223 | 225 | else: |
|
224 | 226 | parameters = [p for p in event.new.param if p != 'name'] |
@@ -227,8 +229,7 @@
Loading
227 | 229 | parameters = [] if event.new == [] else event.new |
|
228 | 230 | ||
229 | 231 | if parameters != [] and parameters != self.parameters: |
|
230 | - | if not self.parameters: |
|
231 | - | self.parameters = parameters |
|
232 | + | self.parameters = parameters |
|
232 | 233 | return |
|
233 | 234 | ||
234 | 235 | for cb in list(self._callbacks): |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.