question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plot vs. feature empty

See original GitHub issue

(Tab “model_summary” in vanilla dashboard) I’m using a non-special self-made dataset so I’m not sure why it’s broken. Here is the error:

Exception on /_dash-update-component [POST]
Traceback (most recent call last):
  File "c:\users\...\venv\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "c:\users\...\venv\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "c:\users\...\venv\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "c:\users\...\venv\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "c:\users\...\venv\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "c:\users\...\venv\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "c:\users\...\venv\lib\site-packages\dash\dash.py", line 1076, in dispatch
    response.set_data(func(*args, outputs_list=outputs_list))
  File "c:\...\venv\lib\site-packages\dash\dash.py", line 1007, in add_context
    output_value = func(*args, **kwargs)  # %% callback invoked %%
  File "c:\...\venv\lib\site-packages\explainerdashboard\dashboard_components\regression_components.py", line 370, in update_residuals_graph
    winsor=winsor, dropna=True)
  File "c:\users\...\venv\lib\site-packages\explainerdashboard\explainers.py", line 2551, in plot_residuals_vs_feature
    self.y[na_mask], self.preds[na_mask], col_vals[na_mask],
  File "c:\users\...\venv\lib\site-packages\pandas\core\series.py", line 902, in __getitem__
    key = check_bool_indexer(self.index, key)
  File "c:\users\...\venv\lib\site-packages\pandas\core\indexing.py", line 2183, in check_bool_indexer
    "Unalignable boolean Series provided as "
pandas.core.indexing.IndexingError: Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
oegedijkcommented, Nov 26, 2020

released the bug fix, so if you pip install -U explainerdashboard then it should also work now without the patch.

0reactions
hkoppencommented, Nov 26, 2020

Nice catch, works perfectly now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

empty plot from single-panel overlaid features #355 - GitHub
Hello, Many thanks for providing this marvelous tool! I am trying to plot some data on a map using the QuadMesh element.
Read more >
Plot Window Hangs or is Empty in Python - Stack Overflow
I tried using QT4Agg as the backend (matplotlib.use('Qt4Agg')), but to no avail. – kevinea. Jun 6, 2016 at 17:28.
Read more >
Viewport has geometry but tab preview and plot are empty.
A print preview of the viewport is completely empty. ... Unfortunately Layout gives a completely blank plot and I cannot understand why.
Read more >
Display empty cells, null (#N/A) values, and hidden worksheet ...
Display empty cells, null (#N/A) values, and hidden worksheet data in a chart. By default, data that is hidden in rows and columns...
Read more >
How to Create an Empty Plot in R ? - GeeksforGeeks
So, in this method first, we create the plot using the plot function and then we remove the dots or the data which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found