【发布时间】:2020-05-01 07:16:41
【问题描述】:
默认情况下,当我调用 matplotlib legend 时,输出为:
但就我而言,我希望文本具有线条的颜色,并且我想删除图例的线条。
期望的结果:
我该怎么做?
部分成功
我的搜索只允许我得到text with the correct colors
and puting those lines transparent
但是图例框上还有空间。
有没有办法做到这一点?
【问题讨论】:
标签: matplotlib legend legend-properties