I'm currently trying to implement a radar chart. It works as intended in the example from the docs. However, already the example contains a bug: the legend is wrong.
As visible on the screenshot above, the color/icons of the legend are not corresponding to the graph. It looks like the lines and the content (fill) of the polygons are treated separately and therefore listed as single elements in the legend.
Suggested improvement
Show for each data either the line color or filling color.
Activity
oscargus commented on Feb 22, 2022
For whoever wants to take a dig at it:
It should be possible to add a proxy artist here that has an outline and a filling, see the penultimate example of https://matplotlib.org/stable/tutorials/intermediate/legend_guide.html
This is the direct link to the radar example: https://matplotlib.org/stable/gallery/specialty_plots/radar_chart.html
anntzer commented on Feb 22, 2022
This is fixed as of master: https://matplotlib.org/devdocs/gallery/specialty_plots/radar_chart.html.
tacaswell commented on Feb 22, 2022
Do we need / want to backport the fix to this for 3.5.x?
anntzer commented on Feb 22, 2022
It's a doc only fix, see #22458.
QuLogic commented on Feb 22, 2022
That PR was already backported to 3.5.x.