Skip to content

Return the figure plotted by TFT explainer variable selection #2892

@souryadey

Description

@souryadey

Is your feature request related to a current problem? Please describe.
The method TFTExplainer.plot_variable_selection() does not return the figure or axes where it plots. This means that the figure or axes cannot be used downstream, e.g. for saving them or closing them.

Describe proposed solution
Please return the figure fig or the axes axes from the method. Source code is here.

Describe potential alternatives
A clear and concise description of any alternative solutions or existing features that might solve it.

Additional context
The TFTExplainer.plot_attention() method returns the axes, which is helpful. Similar behavior for TFTExplainer.plot_variable_selection() will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue waiting for triaging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions