# Resizing Legend Markers in Plots with Matplotlib command

**URL:** <https://discourse.julialang.org/t/resizing-legend-markers-in-plots-with-matplotlib-command/24041>\
**Category:** Visualization\
**Tags:** plotting, pyplot\
**Created:** [May 9, 2019, 5:25pm UTC](https://discourse.julialang.org/t/resizing-legend-markers-in-plots-with-matplotlib-command/24041 "2019-05-09T17:25:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jman87](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jman87/32/1423_2.png) [@jman87](https://discourse.julialang.org/u/jman87)\
**Post date:** [May 9, 2019, 5:25pm UTC](https://discourse.julialang.org/t/resizing-legend-markers-in-plots-with-matplotlib-command/24041/1 "2019-05-09T17:25:40Z")

</div>

I am using Julia 1.1.0 and plotting images using Plots with PyPlot backend. I need to find a way to make the size of markers in the legend be bigger. This issue has been asked before at least twice:

> [@How to adjust the size of markers in legend box?](https://discourse.julialang.org/t/how-to-adjust-the-size-of-markers-in-legend-box/9271):
>
> When I change the marker size, it works well. However, it does not change the size of markers in the legend box. plot( xs, ys, titlefont = font("Times new roman", 32), tickfont = font("Times new roman", 24), guidefont = font("Times new roman", 24), legendfont = font("Times new roman", 24), xlabel = xtitle, xlims = xrange, xticks = xticks, ylabel = ytitle, ylims = yrange, yticks = yticks, linewidth = 3, linealpha = 1.0, mar…

> [@Changing size of markers in legend with Plots](https://discourse.julialang.org/t/changing-size-of-markers-in-legend-with-plots/15520):
>
> Hi everyone, I am on v1, plotting with Plots (and the GR backed). I know that I can change the size of markers with markersize in my plot, but I can’t seem to find a way to change the size within the legend. The markers in the legend show up in a different size. Is there a solution to this? I think this is the same as this question: [How to adjust the size of markers in legend box?](https://discourse.julialang.org/t/how-to-adjust-the-size-of-markers-in-legend-box/9271).

I have found the following article that explains how to do this from Matplotlib:

[https://intoli.com/blog/resizing-matplotlib-legend-markers/](https://intoli.com/blog/resizing-matplotlib-legend-markers/)

My question is twofold:

1. Can someone please add this to the Plots package?

2. Is there any way to use the Matplotlib commands directly in Julia right now? This would be a huge help for me in the short term, but I’m not familiar enough with calling other language commands inside Julia to figure out the correct syntax.
