# Choosing a plotting library

**URL:** <https://discourse.julialang.org/t/choosing-a-plotting-library/97556>\
**Category:** General Usage\
**Tags:** plotting, plots, makie, pythonplot\
**Created:** [April 16, 2023, 6:52pm UTC](https://discourse.julialang.org/t/choosing-a-plotting-library/97556 "2023-04-16T18:52:07Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [April 17, 2023, 5:08pm UTC](https://discourse.julialang.org/t/choosing-a-plotting-library/97556/13 "2023-04-17T17:08:18Z")

</div>

> [@ufechner7](#):
>
> There are two things that I do not like:
> 
> - the diagram is not centred, instead there is a large margin on the right
> - bad location of the legend, it hides one line

For the first point, you have to use `Measures` and keyword argument to `plot()` function: `rightmargin=-20mm`

For the second point, I thought this had been implemented in `Plots.jl` following a push from @lmiq, but it doesn’t seem to be the case here with `pythonplot()`. See [this thread](https://discourse.julialang.org/t/making-plots-place-its-legend-in-a-better-spot/74986) for several solutions.

---

_[View the full topic](https://discourse.julialang.org/t/choosing-a-plotting-library/97556)._
