Skip to content

api(skore): Change the return values of .plot() and the attribute of Display #2374

@glemaitre

Description

@glemaitre

What would you like to say?

Currently Display create some attributes when calling .plot().

First, it is a bit weird that those attributes does not exist before calling .plot.
Then, it also gives the possibilities to user to alter the internal of the displays which might not be the best.

So an alternative is to make display.plot() return the matplotlib figure or seaborn facet grid such that the user can further modify it but without storing this element as an attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API 🧑‍💻Improvement of the API facing usersready for dev 💻Issue specified enough and ready to be implemented

    Type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions