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.

option to change colors of waterfall plot

See original GitHub issue

I understand shap plots use red for positive (up) and blue for negative (down).

From a lay person point of view they are probably use to seeing green for positive (up), red for negative (down) and blue for final.

It would be nice to have an option to ExplainerDashboard to do this. e.g. waterfall_plot_colors='rg'

image

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
oegedijkcommented, Nov 22, 2020

E.g. for the Individual Predictions tab I probably want to hide the Orientation toggle in the Contributions to prediction plot. To the lay person this may be noise. No idea where but I could imagine something like ExplainerDashboard(..., orientation_toggle='vertical') (with default orientation_toggle=None). This sets the orientation of the plot to be vertical and there is no orientation toggle.

While fixing the red/green colors thing, I also made sure that **kwargs to ExplainerDashboard now get passed down to all the components. Which means that you can do:

ExplainerDashboard(explainer, orientation='horizontal', hide_orientation=True).run()

Do be mindful of unintented consequences as kwargs are passed down to all components.

0reactions
oegedijkcommented, Nov 22, 2020

Done!

Awesome! Although don’t see any commits. Maybe you still have to push?

I hadn’t pushed it yet as there was some other stuff I had to clean up first. But just released it now.

Also: added tooltips like pixie dust all over the dashboard, in order to explainer the explainerdashboard itself a bit better. Hopefully that should also help people working with it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introducing the Waterfall chart—a deep dive to a more ...
At the bottom of the gallery, select the option Customize Colors to open the Create New Theme Colors gallery. From there you can...
Read more >
Excel 2016 Waterfall Chart - How to use, advantages and ...
If you click on the next Waterfall Chart and take a look at Change Colors under the Design tab, there are four different...
Read more >
Colors in Waterfall chart excel 2016
Click on Page Layout tab. Click on Colors drop down box in the top left of the ribbon. ... Change the colors your...
Read more >
To configure the value colors in a waterfall chart
To configure the value colors in a waterfall chart · Open a Web Intelligence document in Design mode. · Select or insert a...
Read more >
Solved: customize color in waterfall chart
Create Measure for this hex value, such as: WATERFALL_BAR_COLOR = "#5A9DB4" · Change Data Type of this measure to Text · Under the...
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