Skip to content

No legend displayed in plots of evaluation #38

@shhuang666

Description

@shhuang666

Something is wrong with the legend in "EV_Energy_Level.png" plotted by 'plot_comparable_EV_SoC' in 'evaluator_plot.py'. No legend is displayed when the last subplot is empty, and it raises an warning:
ev2gym/visuals/evaluator_plot.py:550: UserWarning: No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions