Merge pull request #2608 from isentropic/isen-dev2
Make the legendbox square as in GR in pyplot
This commit is contained in:
commit
d1938c5e94
@ -1344,6 +1344,7 @@ function py_add_legend(plt::Plot, sp::Subplot, ax)
|
||||
facecolor = py_color(sp[:background_color_legend]),
|
||||
edgecolor = py_color(sp[:foreground_color_legend]),
|
||||
framealpha = alpha(plot_color(sp[:background_color_legend])),
|
||||
fancybox = false # makes the legend box square
|
||||
)
|
||||
frame = leg."get_frame"()
|
||||
frame."set_linewidth"(py_thickness_scale(plt, 1))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user