Open afrendeiro opened 1 month ago
Yes, by default the legendkit
will try to use the bold
setting for the title in the legend, the exact weight value is decided by matplotlib. May I ask which font are you using?
Arial. These are the settings I use often:
import matplotlib.pyplot as plt
plt.rcParams["svg.fonttype"] = "none"
plt.rcParams["font.family"] = "Arial"
plt.rcParams["font.sans-serif"] = ["Arial"]
plt.rcParams["text.usetex"] = False
When passing
label
tomp.ColorMesh
ormp.Colors
and saving as SVG I get an error:I think this is because maybe a default is making this label bold (600)? Also tried setting
label_props=dict(fontweight=400)
orlabel_props=dict(fontweight='regular')
with same effect. Saving as PDF works, but can't be opened by Inkscape for example. Might be only Linux-specific.