Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shapash Webapp displays incorrect plot when server process > 1 #411

Open
ThomasBouche opened this issue Dec 12, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@ThomasBouche
Copy link
Collaborator

Shapash Webapp displays incorrect plot when server process > 1

In the case the webapp is exposed with processes > 1 in the uwsgi configuration, the app does not behave as expected.
For instance:

  • the selection of a feature triggers the display of a subset
  • maximizing the feature selector plot change the selected feature
  • etc.

Python version : 3.9

Shapash version : tested on 2.2, may affect other versions

Operating System : Any

How to reproduce:

app = xpl.smartapp.app
app.run_server(debug=False, host="0.0.0.0", port=8080, processes=2, threaded=False)
@ThomasBouche ThomasBouche added the bug Something isn't working label Dec 12, 2022
@ThomasBouche
Copy link
Collaborator Author

The bugs you can see in the Gif below are not a normal behavior of the webapp:

  • When you click on a feature of the plot feature importance, the gray bars (subset) are not supposed to appear
  • When you select a subset and click on a grey bar, the contribution plot should display the subset
  • When you zoom on the contribution plot, the plot is not supposed to change feature and subset
    shapash_bug_AdobeExpress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant