Ask Your Question

Revision history [back]

Use the function set_legend_options as follows:

g = plot(sin, 0, pi, legend_label='$sin(x)$', fontsize=28)
g.set_legend_options(font_size=28)
show(g)