New Python View with Plotly does not update interactive view with filter widgets

Hello,

I have a reporting app in AP 4.7.0 where I use python views.
Previously I used the python view from the lab with Matplotlib. The view get updated when I change the input table with a filter widget. A new, in my case, boxplot figure is created and showed in the interactive view.
With the new python view from 4.7.0, I tried the Plotly plotting backend in this app. In my experiment the plotly (interactive) figure is not updated when the widget values are changed.
The widget is configured to do the re-execution.
Also a separate re-execution button doesn’t work.

Can this work?
How can I get it working? Has somebody a simple example?

Thanks

Johnny

Hi @Johnny_Gel,

the new Python View node doesn’t support filter events created by interactive filter widget nodes.

A workaround is to use “normal” widget nodes to get the inputs, followed by a Row Filter node and then the Python View node. To update the view you can either activate Re-excution in the widget node or use a Refresh Button Widget node.

Cheers
Kathrin

4 Likes

Thanks for the explanation.
I will see what I can do with this work around.

Will the new Python view support filter events in the future?

Johnny

Hi @Johnny_Gel,

this is not planned yet. The idea is rather that this functionality is covered with re-execution, which our developers will add to more and more of the widget nodes, and the refresh button widget node.

Cheers
Kathrin

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.