Skip to content

Commit

Permalink
Added custom flatten function
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Feb 21, 2022
1 parent 85336e1 commit fbcc04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hvplot/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def _find_widgets(op):
widgets = []
op_args = list(op['args'])+list(op['kwargs'].values())
op_args = pd.core.common.flatten(op_args)
op_args = hv.core.util.flatten(op_args)
for op_arg in op_args:
if 'panel' in sys.modules:
if isinstance(op_arg, Widget) and op_arg not in widgets:
Expand Down

0 comments on commit fbcc04e

Please sign in to comment.