Allow to config legend on plots

Open
#281 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 10 days

@ThomasBouche is already working on this.

Since Dec 23, 2021.

Assessment

This issue has not been assessed yet.

Description

Description of Problem:
According to some use cases, legends on contribution_plot() and features_importance() has to be more specific.

Overview of the Solution:
Propose to users to configure parameters to modify legends on those plots when it's needed. (x/ y axis title, title, and legend on color)

Examples:
Give users access to those parameters:

[smart_plotter.py : _update_contributions_fig() method and contribution_plot()]
image
Give access in contribution_plot() to those parameters already set by default to a value.

[smart_plotter.py: plot_features_import() method and features_importance()]
image
Give access in features_importance to those parameters already set by default to a value.

Blockers:

Definition of Done:

Dominant language
Jupyter Notebook
Stars
3.3k
Forks
390
Avg merge
7d 15h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MAIF/shapash

All issues in MAIF/shapash

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.