Customising the legend of a Seaborn jointplot seems to provoke the markers in the legend vary in size for no apparent reason (see image).
h = sns.jointplot( data = data, x = 'X', y = 'Y', hue = 'Time', palette = cmap)
plt.legend(title = 't / mins', labels = ['0', '20', '80'], markerscale = 1)
Is there a way to enforce the same marker size?
Expecting all symbols in the legend to be the same size, which does happen if I don't try to customise using plt.legend().

As seaborn functions usually combine many matplotlib elements, it usually creates custom legend handles. Such legends don't work well together with
plt.legend(). Therefore, to change the legend's properties, such as title, location, etc., seaborn introducedsns.move_legend(). To change the marker size for the legend of thejointplot, a marker scale different from1would be needed.Changing labels is not recommended, as the order can be tricky. It helps to enforce an order via
hue_order=. If necessary, one could change the labels by renaming the elements in the hue column.sns.jointplotis a figure-level function, creating aJointGrid. You can access the subplot of the main plot viag.ax_joint.